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.0008163/0.0008163, 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.0008882/0.0008882, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9553/0.9553, allocations: 230.6 MB / 256 MB, free: 9.801 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.8037/0.8037, allocations: 203.8 MB / 0.5042 GB, free: 10.7 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.001011/0.001011, allocations: 66.45 kB / 0.7182 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4962/0.4972, allocations: 102 MB / 0.8178 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001184/0.4984, allocations: 0.5276 MB / 0.8184 GB, free: 0.9297 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001391/0.4986, allocations: 45.53 kB / 0.8184 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.79e-05/0.4986, allocations: 1.688 kB / 0.8184 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.516e-05/0.4986, allocations: 4 kB / 0.8184 GB, free: 0.8945 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.4988, allocations: 6.812 kB / 0.8184 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.904e-05/0.4988, allocations: 6.828 kB / 0.8184 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.87e-05/0.4989, allocations: 5.5 kB / 0.8184 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.138e-05/0.4989, allocations: 3.719 kB / 0.8184 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.214e-05/0.499, allocations: 17.7 kB / 0.8185 GB, free: 0.875 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.88e-05/0.499, allocations: 10.2 kB / 0.8185 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.4991, allocations: 0 / 0.8185 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.436e-06/0.4991, allocations: 0 / 0.8185 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.8e-05/0.4991, allocations: 7.375 kB / 0.8185 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.503e-05/0.4991, allocations: 10.64 kB / 0.8185 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.255e-05/0.4992, allocations: 17.36 kB / 0.8185 GB, free: 0.8516 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4992, allocations: 3.25 kB / 0.8185 GB, free: 0.8516 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.203e-06/0.4992, allocations: 0 / 0.8185 GB, free: 0.8516 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.4992, allocations: 0 / 0.8185 GB, free: 0.8516 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.0002867/0.4995, allocations: 257.6 kB / 0.8187 GB, free: 0.5859 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.4995, allocations: 9.031 kB / 0.8188 GB, free: 0.5859 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.045e-05/0.4995, allocations: 34.75 kB / 0.8188 GB, free: 0.543 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.993e-05/0.4996, allocations: 6.234 kB / 0.8188 GB, free: 0.5391 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.4997, allocations: 122.7 kB / 0.8189 GB, free: 412 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.793e-06/0.4997, allocations: 2.75 kB / 0.8189 GB, free: 412 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.4997, allocations: 5.797 kB / 0.8189 GB, free: 408 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.756e-05/0.4998, allocations: 32.81 kB / 0.8189 GB, free: 376 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.4998, allocations: 3.938 kB / 0.819 GB, free: 372 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.4998, allocations: 0.9844 kB / 0.819 GB, free: 372 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.4998, allocations: 0 / 0.819 GB, free: 372 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.385e-05/0.4998, allocations: 8.141 kB / 0.819 GB, free: 368 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.667e-05/0.4999, allocations: 122.7 kB / 0.8191 GB, free: 208 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 2.896e-05/0.4999, allocations: 24.81 kB / 0.8191 GB, free: 180 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.399e-05/0.4999, allocations: 8.562 kB / 0.8191 GB, free: 172 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.4999, allocations: 0 / 0.8191 GB, free: 172 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.085e-05/0.4999, allocations: 32.88 kB / 0.8191 GB, free: 132 kB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 4.91e-07/0.4999, allocations: 0 / 0.8191 GB, free: 132 kB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001101/0.5001, allocations: 59.92 kB / 0.8192 GB, free: 80 kB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.781e-05/0.5001, allocations: 56.52 kB / 0.8193 GB, free: 12 kB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.839e-05/0.5002, allocations: 109.2 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.215e-06/0.5002, allocations: 25.7 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.895e-05/0.5002, allocations: 83.41 kB / 0.8195 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.5002, allocations: 4 kB / 0.8195 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.113e-05/0.5002, allocations: 12 kB / 0.8195 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.668e-05/0.5003, allocations: 315.2 kB / 0.8198 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.256e-05/0.5003, allocations: 7.203 kB / 0.8198 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.017e-05/0.5003, allocations: 18.67 kB / 0.8198 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.369e-05/0.5004, allocations: 29.64 kB / 0.8198 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5004, allocations: 0 / 0.8198 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.727e-05/0.5004, allocations: 47.59 kB / 0.8199 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.5004, allocations: 14.81 kB / 0.8199 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.5004, allocations: 3.938 kB / 0.8199 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.958e-06/0.5004, allocations: 5.219 kB / 0.8199 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.892e-05/0.5005, allocations: 7.094 kB / 0.8199 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.5005, allocations: 0 / 0.8199 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.292e-05/0.5005, allocations: 0.9844 kB / 0.8199 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.5005, allocations: 0 / 0.8199 GB, free: 15.36 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 4.748e-05/0.5006, allocations: 111.3 kB / 0.82 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-06/0.5006, allocations: 3.938 kB / 0.82 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.35e-05/0.5007, allocations: 54 kB / 0.8201 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.5007, allocations: 4.031 kB / 0.8201 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.5007, allocations: 1.312 kB / 0.8201 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.5007, allocations: 256 / 0.8201 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.773e-05/0.5007, allocations: 132.1 kB / 0.8202 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.5007, allocations: 4 kB / 0.8202 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.171e-05/0.5008, allocations: 3.188 kB / 0.8202 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.5008, allocations: 5.375 kB / 0.8202 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.5008, allocations: 0 / 0.8202 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.5008, allocations: 0 / 0.8202 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.5008, allocations: 3.594 kB / 0.8202 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.614e-05/0.5009, allocations: 83.2 kB / 0.8203 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.518e-05/0.5009, allocations: 4.328 kB / 0.8203 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.789e-06/0.5009, allocations: 5.109 kB / 0.8203 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.926e-06/0.5009, allocations: 6.188 kB / 0.8203 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.066e-05/0.5009, allocations: 0.6562 kB / 0.8203 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-06/0.5009, allocations: 0 / 0.8203 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.23e-05/0.5009, allocations: 90.14 kB / 0.8204 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5009, allocations: 0 / 0.8204 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001131/0.501, allocations: 8.75 kB / 0.8204 GB, free: 14.86 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.0002488/0.5013, allocations: 0.6128 MB / 0.821 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.085e-05/0.5014, allocations: 14.06 kB / 0.821 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.5014, allocations: 4.156 kB / 0.821 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.426e-06/0.5014, allocations: 9.375 kB / 0.821 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001033/0.5015, allocations: 1.156 kB / 0.821 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00069/0.5022, allocations: 1.143 MB / 0.8221 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001801/0.5024, allocations: 0.679 MB / 0.8228 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.745e-05/0.5024, allocations: 6.656 kB / 0.8228 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/0.5024, allocations: 13.98 kB / 0.8228 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of SimCode: time 3.7e-07/0.5024, allocations: 0 / 0.8228 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01365/0.5161, allocations: 1.315 MB / 0.8241 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.175/6.692, allocations: 7.859 kB / 0.8241 GB, free: 12 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: 9.616486196173355] Failed to read output from testmodel.py, exit status != 0: 6.768785145133734 6.78504892 6.282678448 Calling exit ...