Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.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.001069/0.001069, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] 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.001631/0.001631, allocations: 212.1 kB / 22.25 MB, free: 3.727 MB / 13.93 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 0.9684/0.9684, allocations: 230.6 MB / 256 MB, free: 9.582 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8026/0.8026, allocations: 203.8 MB / 0.5042 GB, free: 10.41 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(IDEAS.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.0009742/0.0009742, allocations: 66.11 kB / 0.7182 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5132/0.5141, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01134/0.5255, allocations: 13.51 MB / 0.831 GB, free: 7.891 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004713/0.5302, allocations: 3.407 MB / 0.8343 GB, free: 5.578 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003537/0.5306, allocations: 24.38 kB / 0.8343 GB, free: 5.566 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000641/0.5312, allocations: 194.4 kB / 0.8345 GB, free: 5.465 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001304/0.5325, allocations: 0.6316 MB / 0.8351 GB, free: 5.094 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007773/0.5333, allocations: 399.5 kB / 0.8355 GB, free: 4.879 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00117/0.5344, allocations: 1.112 MB / 0.8366 GB, free: 4.355 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003563/0.5348, allocations: 249.2 kB / 0.8368 GB, free: 4.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007983/0.5356, allocations: 457.9 kB / 0.8373 GB, free: 4.027 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003775/0.536, allocations: 309.3 kB / 0.8376 GB, free: 3.902 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.516e-05/0.536, allocations: 32.75 kB / 0.8376 GB, free: 3.902 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003688/0.5364, allocations: 214.5 kB / 0.8378 GB, free: 3.832 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.5365, allocations: 101.5 kB / 0.8379 GB, free: 3.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001901/0.5367, allocations: 174 kB / 0.8381 GB, free: 3.684 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007409/0.5374, allocations: 0.6145 MB / 0.8387 GB, free: 3.449 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5374, allocations: 1.031 kB / 0.8387 GB, free: 3.449 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.774e-06/0.5374, allocations: 0.5625 kB / 0.8387 GB, free: 3.449 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.5375, allocations: 3.938 kB / 0.8387 GB, free: 3.445 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0008972/0.5384, allocations: 0.6861 MB / 0.8393 GB, free: 2.922 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.5384, allocations: 10.73 kB / 0.8393 GB, free: 2.922 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.653e-05/0.5384, allocations: 60.75 kB / 0.8394 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.5386, allocations: 51.72 kB / 0.8395 GB, free: 2.844 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005933/0.5392, allocations: 403.4 kB / 0.8398 GB, free: 2.578 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.5392, allocations: 23.09 kB / 0.8399 GB, free: 2.566 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.411e-05/0.5392, allocations: 30.27 kB / 0.8399 GB, free: 2.555 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000502/0.5398, allocations: 413.7 kB / 0.8403 GB, free: 2.273 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.5398, allocations: 0 / 0.8403 GB, free: 2.273 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.5398, allocations: 11.03 kB / 0.8403 GB, free: 2.266 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/0.5398, allocations: 12.67 kB / 0.8403 GB, free: 2.262 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003208/0.5401, allocations: 189.9 kB / 0.8405 GB, free: 2.203 MB / 0.6198 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.001206/0.5413, allocations: 1.142 MB / 0.8416 GB, free: 1.344 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/0.5416, allocations: 152.6 kB / 0.8417 GB, free: 1.277 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.5417, allocations: 62.88 kB / 0.8418 GB, free: 1.254 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.141e-05/0.5418, allocations: 8.656 kB / 0.8418 GB, free: 1.254 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000229/0.5421, allocations: 235 kB / 0.842 GB, free: 1.055 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.5421, allocations: 0 / 0.842 GB, free: 1.055 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0004119/0.5425, allocations: 238.7 kB / 0.8423 GB, free: 0.9531 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.699e-05/0.5425, allocations: 57.95 kB / 0.8423 GB, free: 0.8867 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.5428, allocations: 354.9 kB / 0.8427 GB, free: 0.6562 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.5429, allocations: 35.8 kB / 0.8427 GB, free: 0.6172 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.543, allocations: 220 kB / 0.8429 GB, free: 428 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.543, allocations: 54.98 kB / 0.843 GB, free: 380 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.22e-05/0.5431, allocations: 57.25 kB / 0.843 GB, free: 336 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.5432, allocations: 343.2 kB / 0.8433 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.5433, allocations: 98.95 kB / 0.8434 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.5435, allocations: 177.6 kB / 0.8436 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/0.5437, allocations: 249.1 kB / 0.8438 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5437, allocations: 1.25 kB / 0.8438 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003662/0.5441, allocations: 343.4 kB / 0.8442 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.5441, allocations: 32.36 kB / 0.8442 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.5441, allocations: 2.875 kB / 0.8442 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.5441, allocations: 8.062 kB / 0.8442 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.5443, allocations: 62.3 kB / 0.8443 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.5443, allocations: 4.375 kB / 0.8443 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.5444, allocations: 40.36 kB / 0.8443 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.5444, allocations: 8.344 kB / 0.8443 GB, free: 15.26 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.5445, allocations: 162.6 kB / 0.8445 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.464e-05/0.5446, allocations: 32.28 kB / 0.8445 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003298/0.5449, allocations: 191 kB / 0.8447 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.5449, allocations: 10.62 kB / 0.8447 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5449, allocations: 0 / 0.8447 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002709/0.5452, allocations: 493.7 kB / 0.8452 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.5454, allocations: 289.7 kB / 0.8454 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.5454, allocations: 1.281 kB / 0.8454 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.75e-05/0.5455, allocations: 26.95 kB / 0.8455 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.5455, allocations: 1.531 kB / 0.8455 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.5456, allocations: 9.141 kB / 0.8455 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.5456, allocations: 3.938 kB / 0.8455 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5456, allocations: 1.5 kB / 0.8455 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003573/0.5459, allocations: 288.2 kB / 0.8458 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.575e-05/0.546, allocations: 44.89 kB / 0.8458 GB, free: 14 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.546, allocations: 9.203 kB / 0.8458 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.5461, allocations: 24.55 kB / 0.8458 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.5462, allocations: 18.69 kB / 0.8459 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.5462, allocations: 4.062 kB / 0.8459 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001687/0.5464, allocations: 248.2 kB / 0.8461 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5464, allocations: 0 / 0.8461 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000291/0.5466, allocations: 131 kB / 0.8462 GB, free: 13.77 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006737/0.5473, allocations: 0.9082 MB / 0.8471 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003169/0.5476, allocations: 248 kB / 0.8473 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5476, allocations: 2.25 kB / 0.8473 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.5477, allocations: 69.14 kB / 0.8474 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005409/0.5483, allocations: 213.6 kB / 0.8476 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002918/0.5512, allocations: 3.187 MB / 0.8507 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.5513, allocations: 191.2 kB / 0.8509 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001589/0.5515, allocations: 60.72 kB / 0.851 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.5516, allocations: 118.1 kB / 0.8511 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of SimCode: time 4.51e-07/0.5516, allocations: 0 / 0.8511 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02353/0.5751, allocations: 11.56 MB / 0.8624 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.721/7.296, allocations: 8.875 kB / 0.8624 GB, free: 4.07 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Storage_Examples_ExpansionVessel.fmu > IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.264499173965305] Failed to read output from testmodel.py, exit status != 0: 7.380759359803051 7.391889183 6.852447328 Calling exit ...