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.0008066/0.0008066, 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.0008663/0.0008663, allocations: 211.6 kB / 22.25 MB, free: 3.586 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.9676/0.9676, allocations: 230.6 MB / 256 MB, free: 9.414 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.7976/0.7976, 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.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.001326/0.001326, allocations: 63.47 kB / 0.7181 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.468/0.4693, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.001267/0.4706, allocations: 0.5341 MB / 0.8183 GB, free: 0.7109 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001192/0.4707, allocations: 21.3 kB / 0.8183 GB, free: 0.6953 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.423e-05/0.4707, allocations: 0 / 0.8183 GB, free: 0.6953 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.515e-05/0.4707, allocations: 0 / 0.8183 GB, free: 0.6953 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001571/0.4709, allocations: 4.688 kB / 0.8183 GB, free: 0.6914 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.569e-06/0.4709, allocations: 1.031 kB / 0.8183 GB, free: 0.6914 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.86e-05/0.471, allocations: 9.234 kB / 0.8183 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.452e-05/0.471, allocations: 0.8906 kB / 0.8183 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.976e-05/0.471, allocations: 7.781 kB / 0.8183 GB, free: 0.6836 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.76e-05/0.4711, allocations: 0.9844 kB / 0.8183 GB, free: 0.6836 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.4711, allocations: 0 / 0.8183 GB, free: 0.6836 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.061e-06/0.4711, allocations: 0 / 0.8183 GB, free: 0.6836 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.108e-05/0.4711, allocations: 4 kB / 0.8183 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.323e-05/0.4711, allocations: 1.938 kB / 0.8183 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.288e-05/0.4712, allocations: 14.66 kB / 0.8184 GB, free: 0.6719 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4712, allocations: 0 / 0.8184 GB, free: 0.6719 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4712, allocations: 0 / 0.8184 GB, free: 0.6719 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.4712, allocations: 3.938 kB / 0.8184 GB, free: 0.668 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.0001898/0.4714, allocations: 242 kB / 0.8186 GB, free: 416 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.4714, allocations: 11.31 kB / 0.8186 GB, free: 416 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.266e-05/0.4714, allocations: 31.45 kB / 0.8186 GB, free: 376 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.055e-05/0.4715, allocations: 0.9375 kB / 0.8186 GB, free: 376 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.411e-05/0.4715, allocations: 110.7 kB / 0.8187 GB, free: 244 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-06/0.4715, allocations: 384 / 0.8187 GB, free: 244 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.873e-06/0.4715, allocations: 384 / 0.8187 GB, free: 244 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.69e-05/0.4716, allocations: 48.56 kB / 0.8188 GB, free: 192 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.4716, allocations: 7.875 kB / 0.8188 GB, free: 184 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.4716, allocations: 0 / 0.8188 GB, free: 184 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.4716, allocations: 3.594 kB / 0.8188 GB, free: 184 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.956e-05/0.4716, allocations: 3.938 kB / 0.8188 GB, free: 180 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.972e-05/0.4717, allocations: 127.2 kB / 0.8189 GB, free: 12 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.535e-05/0.4718, allocations: 37.52 kB / 0.819 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.919e-05/0.4718, allocations: 21.69 kB / 0.819 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.4718, allocations: 0 / 0.819 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.4719, allocations: 32.55 kB / 0.819 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 5.51e-07/0.4719, allocations: 2.625 kB / 0.819 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001295/0.472, allocations: 47.5 kB / 0.8191 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.472, allocations: 81.66 kB / 0.8191 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.955e-05/0.4721, allocations: 90.52 kB / 0.8192 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.457e-06/0.4721, allocations: 25.7 kB / 0.8192 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.902e-05/0.4721, allocations: 80.52 kB / 0.8193 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.4721, allocations: 11.66 kB / 0.8193 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.228e-05/0.4722, allocations: 14.7 kB / 0.8193 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.046e-05/0.4722, allocations: 314.8 kB / 0.8196 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-06/0.4722, allocations: 0 / 0.8196 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.6e-05/0.4723, allocations: 13.59 kB / 0.8197 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.331e-05/0.4723, allocations: 25.5 kB / 0.8197 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4723, allocations: 3.938 kB / 0.8197 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.754e-05/0.4723, allocations: 40.67 kB / 0.8197 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.4724, allocations: 12.62 kB / 0.8197 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.4724, allocations: 3.281 kB / 0.8197 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.4724, allocations: 0 / 0.8197 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.004e-05/0.4724, allocations: 4.656 kB / 0.8197 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.4725, allocations: 0 / 0.8197 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.393e-05/0.4725, allocations: 3.281 kB / 0.8197 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.4725, allocations: 3.5 kB / 0.8198 GB, free: 15.12 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.413e-05/0.4725, allocations: 110.5 kB / 0.8199 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-06/0.4725, allocations: 7.938 kB / 0.8199 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.4726, allocations: 58.41 kB / 0.8199 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.4726, allocations: 3.984 kB / 0.8199 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4726, allocations: 1.406 kB / 0.8199 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.4727, allocations: 0.7031 kB / 0.8199 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.472e-05/0.4727, allocations: 124.4 kB / 0.82 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4727, allocations: 0 / 0.82 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.144e-05/0.4727, allocations: 4.422 kB / 0.82 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.4728, allocations: 3.938 kB / 0.8201 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.4728, allocations: 0.5156 kB / 0.8201 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4728, allocations: 0 / 0.8201 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4728, allocations: 9.656 kB / 0.8201 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.016e-05/0.4728, allocations: 76.14 kB / 0.8201 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.494e-05/0.4729, allocations: 1.219 kB / 0.8201 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.4729, allocations: 5.734 kB / 0.8201 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.768e-06/0.4729, allocations: 5.844 kB / 0.8201 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.218e-05/0.4729, allocations: 2.031 kB / 0.8201 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.4729, allocations: 0.5156 kB / 0.8201 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.297e-05/0.4729, allocations: 78.08 kB / 0.8202 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4729, allocations: 0 / 0.8202 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001223/0.473, allocations: 1.594 kB / 0.8202 GB, free: 14.61 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.0002547/0.4733, allocations: 0.6087 MB / 0.8208 GB, free: 14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.169e-05/0.4734, allocations: 9.125 kB / 0.8208 GB, free: 14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4734, allocations: 0 / 0.8208 GB, free: 14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.654e-06/0.4734, allocations: 8.281 kB / 0.8208 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001054/0.4735, allocations: 0 / 0.8208 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002574/0.4737, allocations: 129 kB / 0.821 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.513e-05/0.4738, allocations: 65.44 kB / 0.821 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.784e-05/0.4738, allocations: 0.6562 kB / 0.821 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.707e-05/0.4738, allocations: 9.281 kB / 0.821 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of SimCode: time 6.01e-07/0.4738, allocations: 0 / 0.821 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01614/0.49, allocations: 1.428 MB / 0.8224 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.563/7.053, allocations: 11.28 kB / 0.8224 GB, free: 12.94 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.921575824264437] Failed to read output from testmodel.py, exit status != 0: 7.132281684316695 7.146008935 6.672658499 Calling exit ...