Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.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.0008691/0.0008691, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008384/0.0008384, allocations: 208.1 kB / 22.25 MB, free: 3.574 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.8966/0.8966, allocations: 230.6 MB / 256 MB, free: 9.621 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.7405/0.7405, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.Examples.Performance.Example5,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5",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.0009391/0.0009391, allocations: 65.27 kB / 0.7182 GB, free: 4.078 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4567/0.4576, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001292/0.4589, allocations: 0.5395 MB / 0.8183 GB, free: 0.7188 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001686/0.4591, allocations: 41.12 kB / 0.8183 GB, free: 0.6953 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.95e-05/0.4591, allocations: 3.938 kB / 0.8183 GB, free: 0.6914 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.01e-05/0.4592, allocations: 3.938 kB / 0.8184 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.4593, allocations: 0.8438 kB / 0.8184 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.961e-05/0.4593, allocations: 12.36 kB / 0.8184 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.925e-05/0.4594, allocations: 6.891 kB / 0.8184 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.166e-05/0.4594, allocations: 1.406 kB / 0.8184 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.162e-05/0.4595, allocations: 11.77 kB / 0.8184 GB, free: 0.6719 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.908e-05/0.4596, allocations: 14.52 kB / 0.8184 GB, free: 0.6641 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.4596, allocations: 1.125 kB / 0.8184 GB, free: 0.6641 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.356e-06/0.4596, allocations: 4 kB / 0.8184 GB, free: 0.6602 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.877e-05/0.4596, allocations: 6.062 kB / 0.8184 GB, free: 0.6602 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.4597, allocations: 1.078 kB / 0.8184 GB, free: 0.6602 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.277e-05/0.4597, allocations: 13.55 kB / 0.8184 GB, free: 0.6562 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.4597, allocations: 0 / 0.8184 GB, free: 0.6562 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4597, allocations: 1.156 kB / 0.8184 GB, free: 0.6562 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.4597, allocations: 0 / 0.8184 GB, free: 0.6562 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003252/0.4601, allocations: 258 kB / 0.8187 GB, free: 400 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.4601, allocations: 10.97 kB / 0.8187 GB, free: 400 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.165e-05/0.4601, allocations: 34.69 kB / 0.8187 GB, free: 356 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.33e-05/0.4601, allocations: 7.266 kB / 0.8187 GB, free: 352 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.4603, allocations: 125.1 kB / 0.8188 GB, free: 208 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.365e-06/0.4603, allocations: 4.953 kB / 0.8188 GB, free: 208 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.4603, allocations: 384 / 0.8188 GB, free: 208 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.977e-05/0.4603, allocations: 32.3 kB / 0.8189 GB, free: 176 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.4603, allocations: 3.938 kB / 0.8189 GB, free: 172 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-06/0.4604, allocations: 0.9844 kB / 0.8189 GB, free: 172 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4604, allocations: 0 / 0.8189 GB, free: 172 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.563e-05/0.4604, allocations: 6.016 kB / 0.8189 GB, free: 168 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.798e-05/0.4605, allocations: 125.6 kB / 0.819 GB, free: 8 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.655e-05/0.4605, allocations: 22.62 kB / 0.819 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.786e-05/0.4605, allocations: 13.02 kB / 0.819 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.4605, allocations: 0 / 0.819 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.4606, allocations: 33.48 kB / 0.8191 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.4606, allocations: 0 / 0.8191 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001379/0.4607, allocations: 58.09 kB / 0.8191 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.4607, allocations: 51.41 kB / 0.8192 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.324e-05/0.4608, allocations: 109.1 kB / 0.8193 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/0.4608, allocations: 25.7 kB / 0.8193 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.915e-05/0.4608, allocations: 83.56 kB / 0.8194 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.4609, allocations: 4.734 kB / 0.8194 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/0.4609, allocations: 18.42 kB / 0.8194 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.294e-05/0.461, allocations: 312.3 kB / 0.8197 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.447e-05/0.461, allocations: 9.25 kB / 0.8197 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.886e-05/0.461, allocations: 14.88 kB / 0.8197 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.62e-05/0.461, allocations: 25.33 kB / 0.8197 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.461, allocations: 0 / 0.8197 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.007e-05/0.4611, allocations: 52.73 kB / 0.8198 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.4611, allocations: 12.78 kB / 0.8198 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.4611, allocations: 4.547 kB / 0.8198 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.4611, allocations: 3.969 kB / 0.8198 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.394e-05/0.4612, allocations: 1.359 kB / 0.8198 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.4612, allocations: 3.5 kB / 0.8198 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.717e-05/0.4613, allocations: 0.6094 kB / 0.8198 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.4613, allocations: 0 / 0.8198 GB, free: 15.18 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 6.148e-05/0.4613, allocations: 113.5 kB / 0.8199 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-06/0.4613, allocations: 6.719 kB / 0.8199 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.4614, allocations: 51.78 kB / 0.82 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.4614, allocations: 6.406 kB / 0.82 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4614, allocations: 0 / 0.82 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.4614, allocations: 4.609 kB / 0.82 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.567e-05/0.4615, allocations: 126.8 kB / 0.8201 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4615, allocations: 0 / 0.8201 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.122e-05/0.4616, allocations: 3.109 kB / 0.8201 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.4616, allocations: 7.875 kB / 0.8201 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.4616, allocations: 3.203 kB / 0.8201 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.4616, allocations: 0 / 0.8201 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4616, allocations: 0 / 0.8201 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.4617, allocations: 90.8 kB / 0.8202 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.493e-05/0.4618, allocations: 3.906 kB / 0.8202 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.4618, allocations: 4.734 kB / 0.8202 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.354e-05/0.4618, allocations: 1.906 kB / 0.8202 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/0.4618, allocations: 1.406 kB / 0.8202 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.4618, allocations: 2.719 kB / 0.8202 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.969e-05/0.4618, allocations: 88.23 kB / 0.8203 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4618, allocations: 0 / 0.8203 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001275/0.462, allocations: 2.438 kB / 0.8203 GB, free: 14.67 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002588/0.4622, allocations: 0.6191 MB / 0.8209 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.412e-05/0.4623, allocations: 13.22 kB / 0.8209 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4623, allocations: 0 / 0.8209 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.638e-06/0.4623, allocations: 6.344 kB / 0.8209 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001123/0.4624, allocations: 2.125 kB / 0.8209 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007154/0.4631, allocations: 1.147 MB / 0.8221 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.052e-05/0.4632, allocations: 64.64 kB / 0.8221 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.139e-05/0.4632, allocations: 9.016 kB / 0.8221 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/0.4632, allocations: 10.67 kB / 0.8221 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of SimCode: time 6.51e-07/0.4632, allocations: 0 / 0.8221 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01757/0.4808, allocations: 1.705 MB / 0.8238 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.825/7.306, allocations: 4.75 kB / 0.8238 GB, free: 12.04 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.034831443801522] Failed to read output from testmodel.py, exit status != 0: 7.385009568184614 7.395968232 6.934148974 Calling exit ...