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.001676/0.001676, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.466/1.466, allocations: 230.6 MB / 252.7 MB, free: 8.297 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.001556/0.001556, allocations: 211.5 kB / 309.2 MB, free: 3.156 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.5559/0.5559, allocations: 101.4 MB / 467 MB, free: 10.35 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.002503/0.002503, allocations: 79.88 kB / 0.6244 GB, free: 12.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4381/0.4406, allocations: 78.61 MB / 0.7012 GB, free: 8.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.00401/0.4446, allocations: 3.73 MB / 0.7048 GB, free: 6.586 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.4466, allocations: 1.152 MB / 0.7059 GB, free: 5.773 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002803/0.4469, allocations: 10.5 kB / 0.7059 GB, free: 5.77 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003695/0.4473, allocations: 135.8 kB / 0.7061 GB, free: 5.695 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003867/0.4476, allocations: 206 kB / 0.7063 GB, free: 5.543 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009863/0.4486, allocations: 483.4 kB / 0.7067 GB, free: 5.273 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000661/0.4493, allocations: 0.6454 MB / 0.7074 GB, free: 4.945 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002333/0.4495, allocations: 111.9 kB / 0.7075 GB, free: 4.879 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002735/0.4498, allocations: 279.9 kB / 0.7077 GB, free: 4.742 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003685/0.4502, allocations: 319.8 kB / 0.708 GB, free: 4.578 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.98e-05/0.4502, allocations: 43 kB / 0.7081 GB, free: 4.578 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002118/0.4504, allocations: 105.6 kB / 0.7082 GB, free: 4.559 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.191e-05/0.4505, allocations: 121 kB / 0.7083 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001922/0.4507, allocations: 279.5 kB / 0.7086 GB, free: 4.293 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007031/0.4514, allocations: 0.7139 MB / 0.7093 GB, free: 3.949 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.4514, allocations: 1.062 kB / 0.7093 GB, free: 3.949 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4514, allocations: 0 / 0.7093 GB, free: 3.949 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.4514, allocations: 3.938 kB / 0.7093 GB, free: 3.945 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.00317/0.4546, allocations: 1.181 MB / 0.7104 GB, free: 3.301 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.4546, allocations: 13.53 kB / 0.7104 GB, free: 3.297 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.14e-05/0.4547, allocations: 87.17 kB / 0.7105 GB, free: 3.227 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00164/0.4564, allocations: 296 kB / 0.7108 GB, free: 3.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006795/0.4571, allocations: 373.9 kB / 0.7111 GB, free: 2.883 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001825/0.4572, allocations: 274.5 kB / 0.7114 GB, free: 2.609 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.337e-05/0.4573, allocations: 40.25 kB / 0.7114 GB, free: 2.594 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000983/0.4583, allocations: 0.5559 MB / 0.712 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.4583, allocations: 2.812 kB / 0.712 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.228e-05/0.4583, allocations: 18.91 kB / 0.712 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.4584, allocations: 11.81 kB / 0.712 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009334/0.4593, allocations: 476.8 kB / 0.7125 GB, free: 2.188 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.002585/0.4619, allocations: 2.044 MB / 0.7145 GB, free: 0.625 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01021/0.4721, allocations: 2.021 MB / 0.7164 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006098/0.4727, allocations: 251.4 kB / 0.7167 GB, free: 288 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.341e-05/0.4728, allocations: 8.469 kB / 0.7167 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007284/0.4735, allocations: 371.3 kB / 0.717 GB, free: 108 kB / 494.1 MB Notification: Performance of pre-optimization done (n=40): time 2.184e-06/0.4735, allocations: 0 / 0.717 GB, free: 108 kB / 494.1 MB Notification: Performance of matching and sorting (n=40): time 0.006677/0.4802, allocations: 1.886 MB / 0.7189 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.839e-05/0.4802, allocations: 82.36 kB / 0.719 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005601/0.4808, allocations: 415.2 kB / 0.7194 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.222e-05/0.4809, allocations: 36.36 kB / 0.7194 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002477/0.4811, allocations: 282.3 kB / 0.7197 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.4813, allocations: 141.1 kB / 0.7198 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.4814, allocations: 72.56 kB / 0.7199 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.4816, allocations: 357.2 kB / 0.7202 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006212/0.4822, allocations: 259 kB / 0.7205 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000661/0.4829, allocations: 309.2 kB / 0.7208 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.4842, allocations: 0.5388 MB / 0.7213 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.4842, allocations: 0 / 0.7213 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00431/0.4885, allocations: 1.339 MB / 0.7226 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.4885, allocations: 5.438 kB / 0.7226 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.4885, allocations: 9.5 kB / 0.7226 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002708/0.4913, allocations: 0.7084 MB / 0.7233 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.4915, allocations: 41.77 kB / 0.7233 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007857/0.4994, allocations: 4.477 MB / 0.7277 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006567/0.5, allocations: 68.78 kB / 0.7278 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.5001, allocations: 14.06 kB / 0.7278 GB, free: 10.12 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.000285/0.5003, allocations: 169.6 kB / 0.7279 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.536e-05/0.5004, allocations: 55.19 kB / 0.728 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004253/0.5047, allocations: 1.313 MB / 0.7293 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.5047, allocations: 4.406 kB / 0.7293 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5047, allocations: 1.703 kB / 0.7293 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.5047, allocations: 7.078 kB / 0.7293 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008388/0.5055, allocations: 0.5971 MB / 0.7299 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.5055, allocations: 1.469 kB / 0.7299 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.5057, allocations: 25.3 kB / 0.7299 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002529/0.5082, allocations: 0.7155 MB / 0.7306 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.852e-05/0.5083, allocations: 9.375 kB / 0.7306 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007246/0.5155, allocations: 4.412 MB / 0.7349 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.5155, allocations: 5.25 kB / 0.7349 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004328/0.5199, allocations: 1.317 MB / 0.7362 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001874/0.5201, allocations: 54.19 kB / 0.7363 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.955e-05/0.5201, allocations: 14.17 kB / 0.7363 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004144/0.5206, allocations: 40.05 kB / 0.7363 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003008/0.5209, allocations: 107.2 kB / 0.7364 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.201e-05/0.5209, allocations: 8.375 kB / 0.7364 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003527/0.5212, allocations: 297.3 kB / 0.7367 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.5212, allocations: 1.188 kB / 0.7367 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000647/0.5219, allocations: 187.3 kB / 0.7369 GB, free: 4 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.004343/0.5262, allocations: 1.846 MB / 0.7387 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003231/0.5295, allocations: 1.12 MB / 0.7398 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.5295, allocations: 0 / 0.7398 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00233/0.5318, allocations: 0.8235 MB / 0.7406 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/0.5323, allocations: 42.81 kB / 0.7406 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/0.5455, allocations: 5.921 MB / 0.7464 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005134/0.546, allocations: 0.8589 MB / 0.7473 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000153/0.5462, allocations: 39.45 kB / 0.7473 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002591/0.5464, allocations: 191.8 kB / 0.7475 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of SimCode: time 1.072e-06/0.5464, allocations: 7.875 kB / 0.7475 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06361/0.61, allocations: 14.81 MB / 0.7619 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/14.08, allocations: 6.75 kB / 0.7619 GB, free: 1.289 MB / 0.5137 GB " [Timeout remaining time 646] (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: 17.565554002998397] Failed to read output from testmodel.py, exit status != 0: 14.200901652999164 14.228981792999999 13.772747204 Calling exit ...