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.001856/0.001856, allocations: 107.6 kB / 18.95 MB, free: 2.828 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.502/1.502, allocations: 230.6 MB / 252.7 MB, free: 8.102 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.001612/0.001612, allocations: 228.2 kB / 309.2 MB, free: 2.941 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.5888/0.5888, allocations: 107.3 MB / 473 MB, free: 4.43 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.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.003555/0.003555, allocations: 85.12 kB / 0.6332 GB, free: 5.004 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3973, allocations: 80.17 MB / 0.7115 GB, free: 4.199 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.003759/0.401, allocations: 3.361 MB / 0.7148 GB, free: 1.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.4027, allocations: 1.085 MB / 0.7158 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002007/0.4029, allocations: 11.81 kB / 0.7158 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003256/0.4032, allocations: 124.5 kB / 0.716 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003619/0.4036, allocations: 208.4 kB / 0.7162 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000925/0.4045, allocations: 453.7 kB / 0.7166 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005077/0.405, allocations: 0.6519 MB / 0.7172 GB, free: 372 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001884/0.4052, allocations: 100.2 kB / 0.7173 GB, free: 316 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002235/0.4055, allocations: 285 kB / 0.7176 GB, free: 172 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003175/0.4058, allocations: 286 kB / 0.7179 GB, free: 40 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.308e-05/0.4058, allocations: 44.09 kB / 0.7179 GB, free: 40 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00019/0.406, allocations: 107.5 kB / 0.718 GB, free: 16 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.4062, allocations: 120.6 kB / 0.7181 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.4064, allocations: 227.1 kB / 0.7183 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008197/0.4072, allocations: 0.7151 MB / 0.719 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4072, allocations: 4 kB / 0.719 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4072, allocations: 0 / 0.719 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.4072, allocations: 0 / 0.719 GB, free: 15.46 MB / 0.4981 GB 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.003368/0.4106, allocations: 1.177 MB / 0.7202 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.4106, allocations: 8.125 kB / 0.7202 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001097/0.4107, allocations: 88.17 kB / 0.7203 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001664/0.4124, allocations: 296.5 kB / 0.7206 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007426/0.4131, allocations: 382.6 kB / 0.7209 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002634/0.4134, allocations: 267.7 kB / 0.7212 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.067e-05/0.4135, allocations: 43.62 kB / 0.7212 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.4145, allocations: 0.557 MB / 0.7218 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.4145, allocations: 0 / 0.7218 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.022e-05/0.4146, allocations: 15.33 kB / 0.7218 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.4146, allocations: 10.78 kB / 0.7218 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.4156, allocations: 486.5 kB / 0.7223 GB, free: 13.7 MB / 0.4981 GB 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.002641/0.4183, allocations: 1.271 MB / 0.7235 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01091/0.4292, allocations: 2.016 MB / 0.7255 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000663/0.4298, allocations: 248.4 kB / 0.7257 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.459e-05/0.4299, allocations: 5.516 kB / 0.7257 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008213/0.4307, allocations: 378.9 kB / 0.7261 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.255e-06/0.4307, allocations: 0 / 0.7261 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=40): time 0.007317/0.438, allocations: 1.892 MB / 0.7279 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.62e-05/0.4381, allocations: 86.28 kB / 0.728 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006157/0.4387, allocations: 424.4 kB / 0.7284 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.242e-05/0.4388, allocations: 31.83 kB / 0.7284 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/0.439, allocations: 277.8 kB / 0.7287 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001819/0.4392, allocations: 143 kB / 0.7288 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/0.4394, allocations: 72.58 kB / 0.7289 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001929/0.4396, allocations: 361.1 kB / 0.7293 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006146/0.4402, allocations: 259.9 kB / 0.7295 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006563/0.4409, allocations: 305.5 kB / 0.7298 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.4421, allocations: 0.539 MB / 0.7303 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.4421, allocations: 0 / 0.7303 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004312/0.4464, allocations: 1.337 MB / 0.7316 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.4464, allocations: 5.594 kB / 0.7316 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.4464, allocations: 5.25 kB / 0.7316 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00263/0.4491, allocations: 0.7121 MB / 0.7323 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.4493, allocations: 48.62 kB / 0.7324 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007463/0.4568, allocations: 4.394 MB / 0.7367 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005902/0.4574, allocations: 60.27 kB / 0.7367 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-05/0.4574, allocations: 16.75 kB / 0.7367 GB, free: 5.762 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.0002937/0.4577, allocations: 171.9 kB / 0.7369 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.885e-05/0.4578, allocations: 51.73 kB / 0.737 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004181/0.462, allocations: 1.315 MB / 0.7382 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.462, allocations: 8.062 kB / 0.7383 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.462, allocations: 1.375 kB / 0.7383 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.462, allocations: 3.984 kB / 0.7383 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006738/0.4627, allocations: 497.4 kB / 0.7387 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.4627, allocations: 1.156 kB / 0.7387 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.4628, allocations: 33.44 kB / 0.7388 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002557/0.4654, allocations: 0.7041 MB / 0.7395 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.155e-05/0.4654, allocations: 9.469 kB / 0.7395 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007031/0.4725, allocations: 4.355 MB / 0.7437 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4725, allocations: 0 / 0.7437 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004207/0.4767, allocations: 1.312 MB / 0.745 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.4768, allocations: 62.97 kB / 0.7451 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.954e-05/0.4769, allocations: 10.41 kB / 0.7451 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004275/0.4773, allocations: 47.66 kB / 0.7451 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002697/0.4776, allocations: 107.8 kB / 0.7452 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.4776, allocations: 7.75 kB / 0.7452 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003377/0.4779, allocations: 290.4 kB / 0.7455 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.4779, allocations: 0 / 0.7455 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006099/0.4785, allocations: 187.8 kB / 0.7457 GB, free: 15.44 MB / 0.5137 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.004466/0.483, allocations: 1.856 MB / 0.7475 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003175/0.4862, allocations: 1.115 MB / 0.7486 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4862, allocations: 0 / 0.7486 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002349/0.4885, allocations: 0.8144 MB / 0.7494 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.489, allocations: 46.58 kB / 0.7494 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01377/0.5027, allocations: 5.918 MB / 0.7552 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.503, allocations: 260.2 kB / 0.7554 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001603/0.5032, allocations: 42.83 kB / 0.7555 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/0.5035, allocations: 183.1 kB / 0.7557 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of SimCode: time 9.52e-07/0.5035, allocations: 0 / 0.7557 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05229/0.5558, allocations: 15.49 MB / 0.7708 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/13.85, allocations: 2.5 kB / 0.7708 GB, free: 9.629 MB / 0.5294 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 & /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.2504155440256] Failed to read output from testmodel.py, exit status != 0: 13.977797107771039 13.992367615 13.58204375 Calling exit ...