Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.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.001296/0.001296, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001671/0.001671, allocations: 221.7 kB / 22.26 MB, free: 3.695 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.9376/0.9376, allocations: 230.6 MB / 256 MB, free: 9.82 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.7819/0.7819, allocations: 203.8 MB / 0.5042 GB, free: 10.75 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.Example8,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example8,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8",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.0009356/0.0009356, allocations: 67.89 kB / 0.7182 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4695/0.4704, allocations: 102 MB / 0.8178 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.001226/0.4716, allocations: 0.5266 MB / 0.8184 GB, free: 0.9492 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001211/0.4717, allocations: 19.14 kB / 0.8184 GB, free: 0.9336 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.495e-05/0.4718, allocations: 4 kB / 0.8184 GB, free: 0.9297 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.367e-05/0.4718, allocations: 1.562 kB / 0.8184 GB, free: 0.9297 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.4719, allocations: 5.391 kB / 0.8184 GB, free: 0.9258 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.408e-06/0.4719, allocations: 2.406 kB / 0.8184 GB, free: 0.9258 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.68e-05/0.472, allocations: 3.578 kB / 0.8184 GB, free: 0.9258 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.31e-05/0.472, allocations: 2.156 kB / 0.8184 GB, free: 0.9258 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.817e-05/0.4721, allocations: 3.25 kB / 0.8184 GB, free: 0.9258 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.741e-05/0.4721, allocations: 3.938 kB / 0.8184 GB, free: 0.9219 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.4721, allocations: 0 / 0.8184 GB, free: 0.9219 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.111e-06/0.4721, allocations: 0 / 0.8184 GB, free: 0.9219 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.13e-05/0.4721, allocations: 4 kB / 0.8184 GB, free: 0.918 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.519e-05/0.4722, allocations: 6.328 kB / 0.8184 GB, free: 0.9141 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.046e-05/0.4722, allocations: 8.859 kB / 0.8184 GB, free: 0.9102 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.4722, allocations: 3.906 kB / 0.8184 GB, free: 0.9102 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4722, allocations: 0 / 0.8184 GB, free: 0.9102 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.4722, allocations: 0 / 0.8184 GB, free: 0.9102 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001892/0.4724, allocations: 243.2 kB / 0.8187 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.4724, allocations: 13.06 kB / 0.8187 GB, free: 0.6406 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.121e-05/0.4725, allocations: 31.41 kB / 0.8187 GB, free: 0.6016 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.018e-05/0.4725, allocations: 4.344 kB / 0.8187 GB, free: 0.6016 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.206e-05/0.4725, allocations: 107.5 kB / 0.8188 GB, free: 484 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.4725, allocations: 384 / 0.8188 GB, free: 484 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.4725, allocations: 2.531 kB / 0.8188 GB, free: 484 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.939e-05/0.4726, allocations: 45.55 kB / 0.8189 GB, free: 432 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.4726, allocations: 3.938 kB / 0.8189 GB, free: 428 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.4726, allocations: 0 / 0.8189 GB, free: 428 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.4727, allocations: 6.359 kB / 0.8189 GB, free: 424 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.902e-05/0.4727, allocations: 5.672 kB / 0.8189 GB, free: 420 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.749e-05/0.4728, allocations: 131.6 kB / 0.819 GB, free: 248 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.341e-05/0.4728, allocations: 36.62 kB / 0.819 GB, free: 196 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.514e-05/0.4728, allocations: 16.48 kB / 0.819 GB, free: 176 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.4728, allocations: 0.6562 kB / 0.819 GB, free: 176 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.391e-05/0.4728, allocations: 37.61 kB / 0.8191 GB, free: 132 kB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 6.61e-07/0.4728, allocations: 0 / 0.8191 GB, free: 132 kB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001111/0.473, allocations: 48.22 kB / 0.8191 GB, free: 88 kB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.473, allocations: 81.88 kB / 0.8192 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.277e-05/0.4731, allocations: 89.86 kB / 0.8193 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.4731, allocations: 25.7 kB / 0.8193 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.948e-05/0.4731, allocations: 80.52 kB / 0.8194 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.4731, allocations: 11.59 kB / 0.8194 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-05/0.4731, allocations: 14.42 kB / 0.8194 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.689e-05/0.4732, allocations: 313.1 kB / 0.8197 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.294e-05/0.4732, allocations: 1.875 kB / 0.8197 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.439e-05/0.4732, allocations: 12.77 kB / 0.8197 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.147e-05/0.4733, allocations: 29.12 kB / 0.8198 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4733, allocations: 0 / 0.8198 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.745e-05/0.4733, allocations: 43.5 kB / 0.8198 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.4733, allocations: 10.83 kB / 0.8198 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.4733, allocations: 0 / 0.8198 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.4734, allocations: 1.062 kB / 0.8198 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.736e-05/0.4734, allocations: 4.094 kB / 0.8198 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.4734, allocations: 0.6562 kB / 0.8198 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.255e-05/0.4734, allocations: 4.594 kB / 0.8198 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.4735, allocations: 4.062 kB / 0.8198 GB, free: 15.35 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 5.691e-05/0.4735, allocations: 115.7 kB / 0.8199 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-06/0.4735, allocations: 3.938 kB / 0.8199 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.72e-05/0.4736, allocations: 52.55 kB / 0.82 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.4736, allocations: 0 / 0.82 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.4736, allocations: 2 kB / 0.82 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.4736, allocations: 4.781 kB / 0.82 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.009e-05/0.4737, allocations: 128.6 kB / 0.8201 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4737, allocations: 1.781 kB / 0.8201 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.905e-05/0.4737, allocations: 4.375 kB / 0.8201 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.4737, allocations: 3.938 kB / 0.8201 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.4737, allocations: 0.5625 kB / 0.8201 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4737, allocations: 3.906 kB / 0.8201 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4737, allocations: 0.6094 kB / 0.8201 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.665e-05/0.4738, allocations: 75.84 kB / 0.8202 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.4738, allocations: 2.578 kB / 0.8202 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.4738, allocations: 5.781 kB / 0.8202 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.427e-06/0.4738, allocations: 5.781 kB / 0.8202 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.074e-05/0.4738, allocations: 0.6562 kB / 0.8202 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.4738, allocations: 1.672 kB / 0.8202 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.257e-05/0.4739, allocations: 76.97 kB / 0.8203 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4739, allocations: 0 / 0.8203 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000123/0.474, allocations: 7.125 kB / 0.8203 GB, free: 14.84 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0002459/0.4742, allocations: 0.6012 MB / 0.8209 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.395e-05/0.4743, allocations: 10.08 kB / 0.8209 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4743, allocations: 4.156 kB / 0.8209 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.112e-06/0.4743, allocations: 6.953 kB / 0.8209 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001008/0.4744, allocations: 5.078 kB / 0.8209 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002536/0.4747, allocations: 119 kB / 0.821 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000171/0.4748, allocations: 0.679 MB / 0.8217 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.725e-05/0.4749, allocations: 0 / 0.8217 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.701e-05/0.4749, allocations: 16.17 kB / 0.8217 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of SimCode: time 5.62e-07/0.4749, allocations: 3.406 kB / 0.8217 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01422/0.4891, allocations: 1.038 MB / 0.8227 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.611/7.1, allocations: 6.406 kB / 0.8227 GB, free: 12.96 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.909224928822368] Failed to read output from testmodel.py, exit status != 0: 7.178177281981334 7.187589425 6.713430309 Calling exit ...