Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Events_TestBreaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Events_TestBreaker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 222.9 MB / 239.4 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 188.4 kB / 289.7 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.48/0.48, allocations: 78.53 MB / 418.4 MB, free: 3.141 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 75.88 kB / 0.5531 GB, free: 1.512 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3574, allocations: 68.17 MB / 0.6197 GB, free: 9.332 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.003746/0.3612, allocations: 3.67 MB / 0.6233 GB, free: 6.395 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.3628, allocations: 1.084 MB / 0.6243 GB, free: 5.43 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002007/0.363, allocations: 11.94 kB / 0.6243 GB, free: 5.418 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.3633, allocations: 131 kB / 0.6244 GB, free: 5.289 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002878/0.3636, allocations: 178.5 kB / 0.6246 GB, free: 5.113 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008965/0.3645, allocations: 0.5007 MB / 0.6251 GB, free: 4.613 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004129/0.3649, allocations: 0.6459 MB / 0.6257 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.3651, allocations: 157.9 kB / 0.6259 GB, free: 3.805 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.3653, allocations: 274.7 kB / 0.6261 GB, free: 3.535 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002879/0.3656, allocations: 322.5 kB / 0.6265 GB, free: 3.219 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.516e-05/0.3657, allocations: 44 kB / 0.6265 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.3659, allocations: 107.9 kB / 0.6266 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.556e-05/0.3659, allocations: 119.5 kB / 0.6267 GB, free: 2.953 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.3661, allocations: 286.3 kB / 0.627 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005302/0.3666, allocations: 0.7165 MB / 0.6277 GB, free: 1.957 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3666, allocations: 0 / 0.6277 GB, free: 1.957 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3666, allocations: 0 / 0.6277 GB, free: 1.957 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.3667, allocations: 4 kB / 0.6277 GB, free: 1.953 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002851/0.3695, allocations: 1.244 MB / 0.6289 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.3696, allocations: 8.031 kB / 0.6289 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.834e-05/0.3696, allocations: 90.7 kB / 0.629 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001578/0.3712, allocations: 296.2 kB / 0.6293 GB, free: 272 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005931/0.3718, allocations: 450 kB / 0.6297 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002178/0.372, allocations: 197.4 kB / 0.6299 GB, free: 15.56 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.689e-05/0.3721, allocations: 40 kB / 0.6299 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.3733, allocations: 0.5525 MB / 0.6305 GB, free: 14.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.3733, allocations: 0 / 0.6305 GB, free: 14.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.781e-05/0.3733, allocations: 16 kB / 0.6305 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.3734, allocations: 12 kB / 0.6305 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.3744, allocations: 495.1 kB / 0.631 GB, free: 14.45 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002989/0.3774, allocations: 2.07 MB / 0.633 GB, free: 12.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01148/0.3889, allocations: 2.053 MB / 0.635 GB, free: 10.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006429/0.3896, allocations: 277.6 kB / 0.6353 GB, free: 9.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.815e-05/0.3897, allocations: 12.56 kB / 0.6353 GB, free: 9.809 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007967/0.3905, allocations: 375 kB / 0.6356 GB, free: 9.422 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 1.873e-06/0.3905, allocations: 0 / 0.6356 GB, free: 9.422 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.007322/0.3978, allocations: 2.199 MB / 0.6378 GB, free: 7.129 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.131e-05/0.3979, allocations: 81.11 kB / 0.6379 GB, free: 7.031 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005123/0.3984, allocations: 421.9 kB / 0.6383 GB, free: 6.609 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/0.3985, allocations: 33.7 kB / 0.6383 GB, free: 6.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/0.3987, allocations: 288.5 kB / 0.6386 GB, free: 6.285 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.3989, allocations: 134.9 kB / 0.6387 GB, free: 6.152 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.399, allocations: 70.12 kB / 0.6388 GB, free: 6.078 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.3992, allocations: 358.8 kB / 0.6391 GB, free: 5.719 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006169/0.3998, allocations: 260.7 kB / 0.6394 GB, free: 5.465 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006729/0.4005, allocations: 306.8 kB / 0.6397 GB, free: 5.152 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.4017, allocations: 0.5489 MB / 0.6402 GB, free: 4.598 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.798e-06/0.4018, allocations: 7.938 kB / 0.6402 GB, free: 4.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004289/0.4061, allocations: 1.344 MB / 0.6415 GB, free: 3.227 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.4061, allocations: 6.344 kB / 0.6415 GB, free: 3.223 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.4061, allocations: 0 / 0.6415 GB, free: 3.223 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002753/0.4089, allocations: 0.7058 MB / 0.6422 GB, free: 2.504 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.4091, allocations: 43.92 kB / 0.6422 GB, free: 2.461 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007588/0.4167, allocations: 4.66 MB / 0.6468 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005505/0.4173, allocations: 67.75 kB / 0.6469 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.114e-05/0.4173, allocations: 12 kB / 0.6469 GB, free: 13.45 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,breakerPara.Open) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,2), (6,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002814/0.4176, allocations: 177.6 kB / 0.647 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.626e-05/0.4177, allocations: 55.61 kB / 0.6471 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004296/0.422, allocations: 1.325 MB / 0.6484 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.422, allocations: 7.984 kB / 0.6484 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.422, allocations: 0 / 0.6484 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.066e-06/0.4221, allocations: 3.984 kB / 0.6484 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007462/0.4228, allocations: 0.6181 MB / 0.649 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.4228, allocations: 0 / 0.649 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/0.423, allocations: 31.92 kB / 0.649 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002618/0.4256, allocations: 0.7095 MB / 0.6497 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.234e-05/0.4257, allocations: 12 kB / 0.6497 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007302/0.433, allocations: 4.642 MB / 0.6543 GB, free: 5.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.433, allocations: 0 / 0.6543 GB, free: 5.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004261/0.4373, allocations: 1.325 MB / 0.6556 GB, free: 4.141 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.4375, allocations: 136.6 kB / 0.6557 GB, free: 3.988 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.374e-05/0.4375, allocations: 8 kB / 0.6557 GB, free: 3.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004284/0.438, allocations: 39.95 kB / 0.6557 GB, free: 3.941 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002976/0.4383, allocations: 103.8 kB / 0.6558 GB, free: 3.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.624e-05/0.4383, allocations: 15.94 kB / 0.6559 GB, free: 3.824 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000334/0.4387, allocations: 283.1 kB / 0.6561 GB, free: 3.547 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4387, allocations: 0 / 0.6561 GB, free: 3.547 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005886/0.4393, allocations: 187.8 kB / 0.6563 GB, free: 3.363 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booleanPulse.y,booleanPulse.pulseStart,breakerPara.Open) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,2), (6,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00459/0.4439, allocations: 1.864 MB / 0.6581 GB, free: 1.457 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00337/0.4472, allocations: 1.296 MB / 0.6594 GB, free: 96 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4473, allocations: 0 / 0.6594 GB, free: 96 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002436/0.4497, allocations: 0.984 MB / 0.6604 GB, free: 15.04 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.4501, allocations: 45.91 kB / 0.6604 GB, free: 14.99 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/0.4636, allocations: 5.937 MB / 0.6662 GB, free: 8.926 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005231/0.4642, allocations: 0.8629 MB / 0.667 GB, free: 8.039 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001555/0.4644, allocations: 39.27 kB / 0.6671 GB, free: 8.004 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002505/0.4646, allocations: 187.4 kB / 0.6673 GB, free: 7.824 MB / 478.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4646, allocations: 0 / 0.6673 GB, free: 7.824 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05147/0.5161, allocations: 14.25 MB / 0.6812 GB, free: 9.664 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.24, allocations: 4 kB / 0.6812 GB, free: 9.66 MB / 494.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Events.TestBreaker_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 OpenIPSL_OpenIPSL_Tests_Events_TestBreaker.fmu > OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1)