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.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.001367/0.001367, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.491/1.491, allocations: 230.6 MB / 252.7 MB, free: 8.066 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.00183/0.00183, allocations: 219.7 kB / 309.2 MB, free: 2.945 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.611/0.611, allocations: 107.2 MB / 472.8 MB, free: 4.504 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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_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"}) [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.002809/0.002809, allocations: 83.88 kB / 0.633 GB, free: 5.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4607/0.4635, allocations: 80.14 MB / 0.7113 GB, free: 4.262 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.006169/0.4697, allocations: 3.37 MB / 0.7146 GB, free: 1.969 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002901/0.4726, allocations: 1.086 MB / 0.7156 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003193/0.4729, allocations: 9.188 kB / 0.7156 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004707/0.4733, allocations: 130.1 kB / 0.7158 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005623/0.4739, allocations: 203.5 kB / 0.7159 GB, free: 1 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.4753, allocations: 453.9 kB / 0.7164 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007993/0.4761, allocations: 0.6529 MB / 0.717 GB, free: 432 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000268/0.4763, allocations: 105.2 kB / 0.7171 GB, free: 368 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003359/0.4767, allocations: 284.2 kB / 0.7174 GB, free: 224 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004962/0.4772, allocations: 279.5 kB / 0.7177 GB, free: 96 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.167e-05/0.4773, allocations: 44.84 kB / 0.7177 GB, free: 96 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002752/0.4775, allocations: 108 kB / 0.7178 GB, free: 72 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.4777, allocations: 122.4 kB / 0.7179 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003065/0.478, allocations: 224 kB / 0.7181 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.4792, allocations: 0.7207 MB / 0.7188 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4792, allocations: 0 / 0.7188 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.774e-06/0.4792, allocations: 0 / 0.7188 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.643e-05/0.4792, allocations: 0 / 0.7188 GB, free: 15.52 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.004939/0.4842, allocations: 1.178 MB / 0.72 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.4842, allocations: 12.47 kB / 0.72 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001407/0.4844, allocations: 86.36 kB / 0.7201 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002881/0.4872, allocations: 291.8 kB / 0.7204 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.4883, allocations: 387.4 kB / 0.7207 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000334/0.4886, allocations: 266.8 kB / 0.721 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.4887, allocations: 44.66 kB / 0.721 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/0.4904, allocations: 0.5534 MB / 0.7216 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.4904, allocations: 3.938 kB / 0.7216 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-05/0.4905, allocations: 14.69 kB / 0.7216 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/0.4905, allocations: 11.59 kB / 0.7216 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/0.492, allocations: 483 kB / 0.7221 GB, free: 13.75 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.003916/0.496, allocations: 1.273 MB / 0.7233 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01616/0.5121, allocations: 2.02 MB / 0.7253 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/0.5131, allocations: 246.6 kB / 0.7255 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.409e-05/0.5132, allocations: 10.73 kB / 0.7255 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001228/0.5144, allocations: 374.4 kB / 0.7259 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 3.757e-06/0.5144, allocations: 0 / 0.7259 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=40): time 0.01011/0.5245, allocations: 1.888 MB / 0.7277 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.5246, allocations: 90.2 kB / 0.7278 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008275/0.5255, allocations: 420.1 kB / 0.7282 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.713e-05/0.5256, allocations: 32.59 kB / 0.7282 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003532/0.5259, allocations: 277.8 kB / 0.7285 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002395/0.5261, allocations: 142.6 kB / 0.7286 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002184/0.5264, allocations: 72.62 kB / 0.7287 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002609/0.5266, allocations: 362.1 kB / 0.7291 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009936/0.5276, allocations: 259.3 kB / 0.7293 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.5286, allocations: 302.8 kB / 0.7296 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001937/0.5306, allocations: 0.5458 MB / 0.7301 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.5306, allocations: 0 / 0.7301 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00644/0.537, allocations: 1.334 MB / 0.7314 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.5371, allocations: 5.656 kB / 0.7314 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.5371, allocations: 0 / 0.7314 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003749/0.5408, allocations: 0.7053 MB / 0.7321 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000381/0.5412, allocations: 48.17 kB / 0.7322 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01065/0.5518, allocations: 4.402 MB / 0.7365 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006569/0.5525, allocations: 61.97 kB / 0.7365 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.183e-05/0.5525, allocations: 13.66 kB / 0.7365 GB, free: 5.836 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.0004007/0.5529, allocations: 167.8 kB / 0.7367 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.5531, allocations: 51.48 kB / 0.7367 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004885/0.558, allocations: 1.321 MB / 0.738 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.558, allocations: 3.188 kB / 0.738 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.558, allocations: 1.844 kB / 0.738 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.558, allocations: 0 / 0.738 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007927/0.5588, allocations: 497.8 kB / 0.7385 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.5588, allocations: 1.094 kB / 0.7385 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.559, allocations: 28.7 kB / 0.7385 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00263/0.5616, allocations: 0.7162 MB / 0.7392 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.546e-05/0.5616, allocations: 6.5 kB / 0.7392 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007363/0.569, allocations: 4.355 MB / 0.7435 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.569, allocations: 0 / 0.7435 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004192/0.5732, allocations: 1.315 MB / 0.7448 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.5733, allocations: 61.69 kB / 0.7448 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.824e-05/0.5734, allocations: 6.219 kB / 0.7448 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000441/0.5739, allocations: 43.95 kB / 0.7449 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002964/0.5742, allocations: 107.9 kB / 0.745 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.373e-05/0.5742, allocations: 7.938 kB / 0.745 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003695/0.5746, allocations: 294.2 kB / 0.7453 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5746, allocations: 0 / 0.7453 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000646/0.5752, allocations: 192.7 kB / 0.7455 GB, free: 15.51 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.004519/0.5797, allocations: 1.845 MB / 0.7473 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003248/0.583, allocations: 1.118 MB / 0.7484 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.583, allocations: 5.062 kB / 0.7484 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002377/0.5854, allocations: 0.8182 MB / 0.7492 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.5858, allocations: 44.12 kB / 0.7492 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01402/0.5998, allocations: 5.936 MB / 0.755 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.6001, allocations: 255.9 kB / 0.7552 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00016/0.6003, allocations: 34.38 kB / 0.7553 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002693/0.6005, allocations: 190.8 kB / 0.7555 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of SimCode: time 1.062e-06/0.6006, allocations: 0 / 0.7555 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05406/0.6546, allocations: 15.48 MB / 0.7706 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/13.99, allocations: 4 kB / 0.7706 GB, free: 9.672 MB / 0.5294 GB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Events_TestBreaker_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Events_TestBreaker.fmu > OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.48545816214755] Failed to read output from testmodel.py, exit status != 0: 14.116521602030843 14.145068886 13.660436425 Calling exit ...