Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 111 kB / 16.46 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.504/1.504, allocations: 230.6 MB / 249.8 MB, free: 9.223 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 214.1 kB / 306 MB, free: 4.312 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5875/0.5875, allocations: 101.3 MB / 463.4 MB, free: 11.92 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Events_TestBreaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Events_TestBreaker",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002605/0.002605, allocations: 87.88 kB / 0.6193 GB, free: 15.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1481, allocations: 78.58 MB / 0.696 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.2743/0.4224, allocations: 3.701 MB / 0.6996 GB, free: 7.094 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001758/0.4242, allocations: 1.143 MB / 0.7007 GB, free: 6.52 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002205/0.4244, allocations: 11.91 kB / 0.7008 GB, free: 6.516 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003389/0.4247, allocations: 133 kB / 0.7009 GB, free: 6.445 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003576/0.4251, allocations: 203.3 kB / 0.7011 GB, free: 6.297 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009742/0.426, allocations: 478.5 kB / 0.7015 GB, free: 6.039 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00057/0.4266, allocations: 0.6475 MB / 0.7022 GB, free: 5.711 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002016/0.4268, allocations: 108.3 kB / 0.7023 GB, free: 5.652 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000255/0.4271, allocations: 284.2 kB / 0.7025 GB, free: 5.512 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000327/0.4274, allocations: 319.6 kB / 0.7028 GB, free: 5.348 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.445e-05/0.4275, allocations: 45.47 kB / 0.7029 GB, free: 5.348 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002087/0.4277, allocations: 105.4 kB / 0.703 GB, free: 5.328 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.886e-05/0.4278, allocations: 117.1 kB / 0.7031 GB, free: 5.25 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001941/0.428, allocations: 283.2 kB / 0.7034 GB, free: 5.062 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006942/0.4287, allocations: 0.7139 MB / 0.7041 GB, free: 4.719 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4287, allocations: 4.812 kB / 0.7041 GB, free: 4.719 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4287, allocations: 4 kB / 0.7041 GB, free: 4.715 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.4287, allocations: 0 / 0.7041 GB, free: 4.715 MB / 494.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.003386/0.4321, allocations: 1.247 MB / 0.7053 GB, free: 3.98 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.4321, allocations: 9.406 kB / 0.7053 GB, free: 3.98 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.845e-05/0.4322, allocations: 83.31 kB / 0.7054 GB, free: 3.914 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001736/0.4339, allocations: 298.4 kB / 0.7057 GB, free: 3.844 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005798/0.4345, allocations: 444.4 kB / 0.7061 GB, free: 3.504 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001673/0.4347, allocations: 196.2 kB / 0.7063 GB, free: 3.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.627e-05/0.4348, allocations: 42.88 kB / 0.7063 GB, free: 3.305 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.4358, allocations: 0.5509 MB / 0.7069 GB, free: 3.078 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.4358, allocations: 4.562 kB / 0.7069 GB, free: 3.074 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.586e-05/0.4359, allocations: 21.59 kB / 0.7069 GB, free: 3.059 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.4359, allocations: 11.83 kB / 0.7069 GB, free: 3.059 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009467/0.4368, allocations: 480.4 kB / 0.7073 GB, free: 2.898 MB / 494.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.002677/0.4395, allocations: 2.074 MB / 0.7094 GB, free: 1.312 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01163/0.4511, allocations: 2.032 MB / 0.7114 GB, free: 1.059 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006151/0.4518, allocations: 251.8 kB / 0.7116 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.149e-05/0.4518, allocations: 4.797 kB / 0.7116 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007164/0.4525, allocations: 382.6 kB / 0.712 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of pre-optimization done (n=40): time 2.204e-06/0.4525, allocations: 3.25 kB / 0.712 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of matching and sorting (n=40): time 0.007021/0.4596, allocations: 2.187 MB / 0.7141 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.158e-05/0.4596, allocations: 80.77 kB / 0.7142 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005453/0.4602, allocations: 416.5 kB / 0.7146 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.491e-05/0.4602, allocations: 29.7 kB / 0.7146 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002682/0.4605, allocations: 290.2 kB / 0.7149 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/0.4607, allocations: 139.5 kB / 0.715 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.4608, allocations: 71.58 kB / 0.7151 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000199/0.461, allocations: 362 kB / 0.7154 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006164/0.4616, allocations: 263.2 kB / 0.7157 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007291/0.4624, allocations: 301.1 kB / 0.716 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.4637, allocations: 0.5512 MB / 0.7165 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.4637, allocations: 0.8125 kB / 0.7165 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004683/0.4684, allocations: 1.337 MB / 0.7178 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.4684, allocations: 9.906 kB / 0.7178 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4684, allocations: 0 / 0.7178 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002974/0.4714, allocations: 0.7042 MB / 0.7185 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.4716, allocations: 45.25 kB / 0.7186 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008316/0.4799, allocations: 4.676 MB / 0.7231 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006523/0.4806, allocations: 72.31 kB / 0.7232 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.21e-05/0.4806, allocations: 13.72 kB / 0.7232 GB, free: 10.2 MB / 0.4981 GB 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.0002817/0.4809, allocations: 169.6 kB / 0.7234 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.13e-05/0.481, allocations: 52.03 kB / 0.7234 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004596/0.4856, allocations: 1.314 MB / 0.7247 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.4856, allocations: 4.281 kB / 0.7247 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4856, allocations: 1.281 kB / 0.7247 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.4856, allocations: 2.109 kB / 0.7247 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008242/0.4865, allocations: 0.6245 MB / 0.7253 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.4865, allocations: 0 / 0.7253 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.4866, allocations: 32.75 kB / 0.7253 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002737/0.4894, allocations: 0.7039 MB / 0.726 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.518e-05/0.4894, allocations: 6.219 kB / 0.726 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007663/0.4971, allocations: 4.645 MB / 0.7306 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.4971, allocations: 1.406 kB / 0.7306 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004481/0.5016, allocations: 1.321 MB / 0.7319 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001951/0.5018, allocations: 130.5 kB / 0.732 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.931e-05/0.5018, allocations: 6.156 kB / 0.732 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004658/0.5023, allocations: 40.55 kB / 0.732 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003719/0.5027, allocations: 106.5 kB / 0.7321 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-05/0.5027, allocations: 16.22 kB / 0.7322 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004268/0.5031, allocations: 286.6 kB / 0.7324 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.5031, allocations: 0 / 0.7324 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007811/0.5039, allocations: 184.2 kB / 0.7326 GB, free: 4.105 MB / 0.4981 GB 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.004887/0.5088, allocations: 1.852 MB / 0.7344 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003567/0.5124, allocations: 1.257 MB / 0.7356 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.5124, allocations: 0.9688 kB / 0.7356 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00257/0.5149, allocations: 0.9667 MB / 0.7366 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000528/0.5155, allocations: 41.88 kB / 0.7366 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01449/0.53, allocations: 5.931 MB / 0.7424 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000535/0.5305, allocations: 0.8589 MB / 0.7433 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001547/0.5307, allocations: 34.94 kB / 0.7433 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002898/0.5309, allocations: 187.9 kB / 0.7435 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of SimCode: time 8.52e-07/0.5309, allocations: 0 / 0.7435 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04792/0.5789, allocations: 14.38 MB / 0.7575 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.26, allocations: 14.39 kB / 0.7575 GB, free: 1.957 MB / 0.5137 GB " [Timeout remaining time 647] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Events_TestBreaker.fmu > OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.72288549505174] Failed to read output from testmodel.py, exit status != 0: 13.370723024010658 13.398445289 12.964719599 Calling exit ...