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.00136/0.00136, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.447/1.447, allocations: 230.6 MB / 252.7 MB, free: 8.305 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.001746/0.001746, allocations: 228 kB / 309.2 MB, free: 3.168 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.5591/0.5591, allocations: 101.3 MB / 467 MB, free: 10.36 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.002673/0.002673, allocations: 87.88 kB / 0.6244 GB, free: 12.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.475/0.4776, allocations: 78.6 MB / 0.7012 GB, free: 9.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.004364/0.482, allocations: 3.733 MB / 0.7048 GB, free: 6.598 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002338/0.4844, allocations: 1.151 MB / 0.7059 GB, free: 5.781 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004961/0.4848, allocations: 14.47 kB / 0.7059 GB, free: 5.773 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004344/0.4853, allocations: 126.9 kB / 0.7061 GB, free: 5.707 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005281/0.4858, allocations: 203 kB / 0.7063 GB, free: 5.559 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.487, allocations: 490.2 kB / 0.7067 GB, free: 5.281 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009076/0.4879, allocations: 0.6474 MB / 0.7074 GB, free: 4.949 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002614/0.4881, allocations: 113.2 kB / 0.7075 GB, free: 4.883 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004053/0.4885, allocations: 280.7 kB / 0.7077 GB, free: 4.746 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004469/0.489, allocations: 312.5 kB / 0.708 GB, free: 4.586 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.291e-05/0.4891, allocations: 44.22 kB / 0.7081 GB, free: 4.586 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003051/0.4894, allocations: 110.6 kB / 0.7082 GB, free: 4.562 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.325e-05/0.4895, allocations: 117.9 kB / 0.7083 GB, free: 4.484 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002457/0.4897, allocations: 279.8 kB / 0.7086 GB, free: 4.297 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009187/0.4906, allocations: 0.7219 MB / 0.7093 GB, free: 3.949 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4906, allocations: 0 / 0.7093 GB, free: 3.949 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4906, allocations: 0 / 0.7093 GB, free: 3.949 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.4907, allocations: 0 / 0.7093 GB, free: 3.949 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.003525/0.4942, allocations: 1.174 MB / 0.7104 GB, free: 3.312 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.4942, allocations: 10.22 kB / 0.7104 GB, free: 3.312 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.436e-05/0.4943, allocations: 89.62 kB / 0.7105 GB, free: 3.242 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001681/0.496, allocations: 293.1 kB / 0.7108 GB, free: 3.176 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000755/0.4967, allocations: 385.9 kB / 0.7112 GB, free: 2.887 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001753/0.4969, allocations: 270.1 kB / 0.7114 GB, free: 2.617 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.156e-05/0.497, allocations: 36.84 kB / 0.7114 GB, free: 2.605 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.498, allocations: 0.5619 MB / 0.712 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.498, allocations: 0 / 0.712 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.568e-05/0.4981, allocations: 14.91 kB / 0.712 GB, free: 2.355 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.4981, allocations: 10.73 kB / 0.712 GB, free: 2.355 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009777/0.4991, allocations: 486.6 kB / 0.7125 GB, free: 2.191 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.002796/0.5019, allocations: 2.034 MB / 0.7145 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0104/0.5123, allocations: 2.026 MB / 0.7164 GB, free: 400 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006532/0.5129, allocations: 256.5 kB / 0.7167 GB, free: 292 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.642e-05/0.513, allocations: 8.516 kB / 0.7167 GB, free: 288 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007325/0.5137, allocations: 375.1 kB / 0.7171 GB, free: 108 kB / 494.1 MB Notification: Performance of pre-optimization done (n=40): time 2.074e-06/0.5137, allocations: 4 kB / 0.7171 GB, free: 104 kB / 494.1 MB Notification: Performance of matching and sorting (n=40): time 0.006689/0.5204, allocations: 1.882 MB / 0.7189 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.757e-05/0.5205, allocations: 81.72 kB / 0.719 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005908/0.5211, allocations: 420.2 kB / 0.7194 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.788e-05/0.5212, allocations: 32.3 kB / 0.7194 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002736/0.5214, allocations: 284.4 kB / 0.7197 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/0.5216, allocations: 143.8 kB / 0.7198 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.5218, allocations: 71.86 kB / 0.7199 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001946/0.522, allocations: 358.1 kB / 0.7202 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006703/0.5227, allocations: 261.8 kB / 0.7205 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006746/0.5233, allocations: 298.2 kB / 0.7208 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/0.5246, allocations: 0.5493 MB / 0.7213 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.5246, allocations: 1.375 kB / 0.7213 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004449/0.529, allocations: 1.334 MB / 0.7226 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.529, allocations: 6.391 kB / 0.7226 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.529, allocations: 0 / 0.7226 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002795/0.5318, allocations: 0.7085 MB / 0.7233 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002945/0.5321, allocations: 41.56 kB / 0.7233 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008497/0.5406, allocations: 4.465 MB / 0.7277 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006898/0.5413, allocations: 69.62 kB / 0.7278 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.657e-05/0.5414, allocations: 14.06 kB / 0.7278 GB, free: 10.14 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.0003294/0.5417, allocations: 172.1 kB / 0.7279 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.5418, allocations: 55.23 kB / 0.728 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004414/0.5462, allocations: 1.311 MB / 0.7293 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.5462, allocations: 5 kB / 0.7293 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.5462, allocations: 0 / 0.7293 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.36e-05/0.5463, allocations: 3.172 kB / 0.7293 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.5473, allocations: 0.6015 MB / 0.7299 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.5473, allocations: 7.938 kB / 0.7299 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.5475, allocations: 28.92 kB / 0.7299 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002608/0.5501, allocations: 0.7047 MB / 0.7306 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-05/0.5502, allocations: 5.5 kB / 0.7306 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007493/0.5577, allocations: 4.431 MB / 0.7349 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5577, allocations: 5.375 kB / 0.7349 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004269/0.5619, allocations: 1.313 MB / 0.7362 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002005/0.5621, allocations: 57.09 kB / 0.7363 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.5622, allocations: 6.469 kB / 0.7363 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004948/0.5627, allocations: 44.2 kB / 0.7363 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003381/0.5631, allocations: 107.1 kB / 0.7364 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-05/0.5631, allocations: 15.52 kB / 0.7364 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004181/0.5635, allocations: 290.7 kB / 0.7367 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.5635, allocations: 0 / 0.7367 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007449/0.5643, allocations: 184.6 kB / 0.7369 GB, free: 4.016 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.004516/0.5688, allocations: 1.848 MB / 0.7387 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003253/0.572, allocations: 1.121 MB / 0.7398 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5721, allocations: 1.312 kB / 0.7398 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002396/0.5744, allocations: 0.8137 MB / 0.7406 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004616/0.5749, allocations: 43.92 kB / 0.7406 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01392/0.5888, allocations: 5.93 MB / 0.7464 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005959/0.5894, allocations: 0.8587 MB / 0.7473 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001513/0.5896, allocations: 31.31 kB / 0.7473 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002884/0.5899, allocations: 187.5 kB / 0.7475 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of SimCode: time 7.82e-07/0.5899, allocations: 0 / 0.7475 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0564/0.6463, allocations: 14.83 MB / 0.7619 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.8/14.45, allocations: 11.27 kB / 0.762 GB, free: 1.312 MB / 0.5137 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Events_TestBreaker_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.820504622068256] Failed to read output from testmodel.py, exit status != 0: 14.577134809922427 14.605505763 14.110112733 Calling exit ...