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.006692/0.006692, allocations: 100.6 kB / 15.73 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 222.9 MB / 239.4 MB, free: 4.531 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.001349/0.001349, allocations: 188.5 kB / 289.7 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4727/0.4727, allocations: 78.54 MB / 418.4 MB, free: 3.133 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 75.83 kB / 0.5531 GB, free: 1.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3557, allocations: 68.17 MB / 0.6197 GB, free: 9.398 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.003633/0.3594, allocations: 3.653 MB / 0.6233 GB, free: 6.477 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.3613, allocations: 1.092 MB / 0.6243 GB, free: 5.402 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003288/0.3616, allocations: 7.938 kB / 0.6243 GB, free: 5.395 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003657/0.362, allocations: 131 kB / 0.6244 GB, free: 5.266 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004011/0.3624, allocations: 210.4 kB / 0.6246 GB, free: 5.059 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.3635, allocations: 0.5046 MB / 0.6251 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005498/0.3641, allocations: 0.6498 MB / 0.6258 GB, free: 3.902 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002421/0.3643, allocations: 157.8 kB / 0.6259 GB, free: 3.742 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.3645, allocations: 274.8 kB / 0.6262 GB, free: 3.473 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002982/0.3648, allocations: 318.4 kB / 0.6265 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.38e-05/0.3649, allocations: 44 kB / 0.6265 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.3651, allocations: 112 kB / 0.6266 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.399e-05/0.3652, allocations: 115.5 kB / 0.6268 GB, free: 2.895 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.3654, allocations: 286.3 kB / 0.627 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006408/0.366, allocations: 0.7165 MB / 0.6277 GB, free: 1.898 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.366, allocations: 0 / 0.6277 GB, free: 1.898 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.366, allocations: 0 / 0.6277 GB, free: 1.898 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.948e-06/0.366, allocations: 0 / 0.6277 GB, free: 1.898 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.002971/0.369, allocations: 1.244 MB / 0.6289 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.3691, allocations: 8.031 kB / 0.6289 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.833e-05/0.3692, allocations: 90.64 kB / 0.629 GB, free: 0.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001569/0.3707, allocations: 292.2 kB / 0.6293 GB, free: 220 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007951/0.3715, allocations: 458 kB / 0.6297 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002115/0.3718, allocations: 185.4 kB / 0.6299 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.471e-05/0.3718, allocations: 44 kB / 0.63 GB, free: 15.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.3729, allocations: 0.5564 MB / 0.6305 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.373, allocations: 0 / 0.6305 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.324e-05/0.373, allocations: 23.97 kB / 0.6305 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.373, allocations: 8 kB / 0.6305 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009552/0.374, allocations: 487.2 kB / 0.631 GB, free: 14.4 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.002902/0.3769, allocations: 2.082 MB / 0.633 GB, free: 12.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01062/0.3875, allocations: 2.053 MB / 0.635 GB, free: 10.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006212/0.3882, allocations: 277.6 kB / 0.6353 GB, free: 9.758 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.251e-05/0.3883, allocations: 4 kB / 0.6353 GB, free: 9.754 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007289/0.389, allocations: 371.1 kB / 0.6357 GB, free: 9.371 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.404e-06/0.389, allocations: 0 / 0.6357 GB, free: 9.371 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.006745/0.3958, allocations: 2.203 MB / 0.6378 GB, free: 7.074 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.3958, allocations: 81.11 kB / 0.6379 GB, free: 6.977 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004822/0.3963, allocations: 425.8 kB / 0.6383 GB, free: 6.551 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.151e-05/0.3964, allocations: 33.7 kB / 0.6383 GB, free: 6.512 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.3966, allocations: 280.5 kB / 0.6386 GB, free: 6.234 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.3967, allocations: 130.9 kB / 0.6387 GB, free: 6.105 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.3969, allocations: 78.08 kB / 0.6388 GB, free: 6.023 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.397, allocations: 362.7 kB / 0.6391 GB, free: 5.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005716/0.3976, allocations: 264.7 kB / 0.6394 GB, free: 5.402 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005881/0.3982, allocations: 298.8 kB / 0.6397 GB, free: 5.098 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.3994, allocations: 0.553 MB / 0.6402 GB, free: 4.539 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.3994, allocations: 0 / 0.6402 GB, free: 4.539 MB / 446.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004047/0.4034, allocations: 1.347 MB / 0.6415 GB, free: 3.172 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.4035, allocations: 8 kB / 0.6415 GB, free: 3.164 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.4035, allocations: 0 / 0.6415 GB, free: 3.164 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002574/0.4061, allocations: 0.7096 MB / 0.6422 GB, free: 2.441 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/0.4064, allocations: 43.92 kB / 0.6423 GB, free: 2.398 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007181/0.4136, allocations: 4.661 MB / 0.6468 GB, free: 13.47 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006313/0.4142, allocations: 63.8 kB / 0.6469 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.023e-05/0.4143, allocations: 20.08 kB / 0.6469 GB, free: 13.39 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.00028/0.4146, allocations: 173.6 kB / 0.6471 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.904e-05/0.4147, allocations: 51.67 kB / 0.6471 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00404/0.4187, allocations: 1.321 MB / 0.6484 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.4188, allocations: 4 kB / 0.6484 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.4188, allocations: 0 / 0.6484 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.4188, allocations: 11.92 kB / 0.6484 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007034/0.4195, allocations: 0.6297 MB / 0.649 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.4195, allocations: 0 / 0.649 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.4197, allocations: 27.92 kB / 0.6491 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00249/0.4222, allocations: 0.7135 MB / 0.6498 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.038e-05/0.4222, allocations: 8 kB / 0.6498 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006925/0.4292, allocations: 4.634 MB / 0.6543 GB, free: 5.441 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.4292, allocations: 7.969 kB / 0.6543 GB, free: 5.434 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004126/0.4333, allocations: 1.328 MB / 0.6556 GB, free: 4.074 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.4335, allocations: 132.7 kB / 0.6557 GB, free: 3.926 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.522e-05/0.4336, allocations: 4 kB / 0.6557 GB, free: 3.922 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004523/0.4341, allocations: 43.95 kB / 0.6558 GB, free: 3.879 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002711/0.4343, allocations: 107.8 kB / 0.6559 GB, free: 3.773 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/0.4344, allocations: 8 kB / 0.6559 GB, free: 3.766 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003459/0.4347, allocations: 291.1 kB / 0.6562 GB, free: 3.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4347, allocations: 0 / 0.6562 GB, free: 3.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006713/0.4354, allocations: 187.7 kB / 0.6563 GB, free: 3.297 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.004366/0.4398, allocations: 1.853 MB / 0.6582 GB, free: 1.402 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003251/0.4431, allocations: 1.304 MB / 0.6594 GB, free: 32 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4431, allocations: 0 / 0.6594 GB, free: 32 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002453/0.4455, allocations: 0.9811 MB / 0.6604 GB, free: 14.98 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005386/0.4461, allocations: 40.84 kB / 0.6604 GB, free: 14.94 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01353/0.4597, allocations: 5.945 MB / 0.6662 GB, free: 8.863 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005846/0.4603, allocations: 0.8629 MB / 0.6671 GB, free: 7.977 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001752/0.4605, allocations: 35.27 kB / 0.6671 GB, free: 7.945 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002997/0.4608, allocations: 187.4 kB / 0.6673 GB, free: 7.766 MB / 478.1 MB Notification: Performance of SimCode: time 1.473e-06/0.4608, allocations: 0 / 0.6673 GB, free: 7.766 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04413/0.505, allocations: 14.24 MB / 0.6812 GB, free: 9.613 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.31, allocations: 8.062 kB / 0.6812 GB, free: 9.605 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)