Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 102.9 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 225.6 MB / 247.8 MB, free: 3.754 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002362/0.002362, allocations: 287.2 kB / 303 MB, free: 3.547 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.995/0.995, allocations: 180.9 MB / 0.5262 GB, free: 2.789 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example8,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example8,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002656/0.002656, allocations: 99.84 kB / 0.7247 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4562/0.4589, allocations: 94.16 MB / 0.8167 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.001403/0.4603, allocations: 0.5172 MB / 0.8172 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001138/0.4604, allocations: 18.27 kB / 0.8172 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.969e-05/0.4604, allocations: 4 kB / 0.8172 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.123e-05/0.4604, allocations: 3.938 kB / 0.8172 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.4606, allocations: 17.92 kB / 0.8172 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.056e-06/0.4606, allocations: 0 / 0.8172 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.876e-05/0.4606, allocations: 3 kB / 0.8172 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.439e-05/0.4606, allocations: 1 kB / 0.8173 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.08e-05/0.4607, allocations: 9.734 kB / 0.8173 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.971e-05/0.4607, allocations: 1.094 kB / 0.8173 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.698e-06/0.4607, allocations: 0 / 0.8173 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 5.42e-06/0.4607, allocations: 0.9688 kB / 0.8173 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.857e-06/0.4607, allocations: 4 kB / 0.8173 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.24e-05/0.4607, allocations: 0.9688 kB / 0.8173 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 4.119e-05/0.4608, allocations: 12.59 kB / 0.8173 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.4608, allocations: 0.9062 kB / 0.8173 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.213e-06/0.4608, allocations: 0 / 0.8173 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.046e-06/0.4608, allocations: 3.938 kB / 0.8173 GB, free: 6.664 MB / 0.5762 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.0001974/0.461, allocations: 318.9 kB / 0.8176 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.461, allocations: 9.562 kB / 0.8176 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.85e-05/0.461, allocations: 31.78 kB / 0.8176 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.805e-05/0.4611, allocations: 2 kB / 0.8176 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.468e-05/0.4611, allocations: 164.4 kB / 0.8178 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.4611, allocations: 1.375 kB / 0.8178 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/0.4611, allocations: 1.406 kB / 0.8178 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.006e-05/0.4612, allocations: 48.53 kB / 0.8178 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.4612, allocations: 3.938 kB / 0.8178 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-06/0.4612, allocations: 0 / 0.8178 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.4612, allocations: 0.9375 kB / 0.8178 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.052e-05/0.4612, allocations: 10.88 kB / 0.8178 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.709e-05/0.4613, allocations: 152.4 kB / 0.818 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.813e-05/0.4614, allocations: 40.39 kB / 0.818 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.459e-05/0.4614, allocations: 11.72 kB / 0.818 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.4614, allocations: 0 / 0.818 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.499e-05/0.4614, allocations: 40.38 kB / 0.8181 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.4614, allocations: 0 / 0.8181 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001132/0.4615, allocations: 46.73 kB / 0.8181 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.907e-05/0.4616, allocations: 78.33 kB / 0.8182 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.762e-05/0.4616, allocations: 95.33 kB / 0.8183 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.5e-06/0.4616, allocations: 25.7 kB / 0.8183 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.805e-06/0.4616, allocations: 84.52 kB / 0.8184 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.4616, allocations: 11.7 kB / 0.8184 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.095e-05/0.4616, allocations: 12.12 kB / 0.8184 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 2.975e-05/0.4617, allocations: 320 kB / 0.8187 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.626e-06/0.4617, allocations: 1.156 kB / 0.8187 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.929e-06/0.4617, allocations: 15.59 kB / 0.8187 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.597e-05/0.4617, allocations: 26.8 kB / 0.8188 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.4617, allocations: 0 / 0.8188 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.916e-05/0.4618, allocations: 42.67 kB / 0.8188 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.4618, allocations: 8.812 kB / 0.8188 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.4618, allocations: 5.016 kB / 0.8188 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.4618, allocations: 1 kB / 0.8188 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.606e-05/0.4618, allocations: 6.75 kB / 0.8188 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.4619, allocations: 0 / 0.8188 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.433e-05/0.4619, allocations: 1.344 kB / 0.8188 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.4619, allocations: 4.969 kB / 0.8188 GB, free: 4.91 MB / 0.5762 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 3.398e-05/0.4619, allocations: 108 kB / 0.8189 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.296e-06/0.4619, allocations: 5.062 kB / 0.8189 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.29e-05/0.462, allocations: 49.28 kB / 0.819 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.462, allocations: 0 / 0.819 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.462, allocations: 4.391 kB / 0.819 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.462, allocations: 0 / 0.819 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.591e-05/0.462, allocations: 152.8 kB / 0.8191 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.4621, allocations: 4 kB / 0.8191 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.069e-05/0.4621, allocations: 6.484 kB / 0.8191 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.4621, allocations: 4.875 kB / 0.8192 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.4621, allocations: 0.9688 kB / 0.8192 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.4621, allocations: 1.031 kB / 0.8192 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4621, allocations: 0 / 0.8192 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.19e-05/0.4621, allocations: 79.14 kB / 0.8192 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.837e-05/0.4622, allocations: 82.09 kB / 0.8193 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.998e-06/0.4622, allocations: 4.906 kB / 0.8193 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.465e-05/0.4622, allocations: 1.031 kB / 0.8193 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.247e-06/0.4622, allocations: 4.406 kB / 0.8193 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.4622, allocations: 1 kB / 0.8193 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.395e-05/0.4622, allocations: 80.25 kB / 0.8194 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.4622, allocations: 1.344 kB / 0.8194 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000182/0.4624, allocations: 5.188 kB / 0.8194 GB, free: 4.281 MB / 0.5762 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.0002077/0.4626, allocations: 0.602 MB / 0.82 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.974e-05/0.4627, allocations: 14.03 kB / 0.82 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4627, allocations: 4.156 kB / 0.82 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.618e-06/0.4627, allocations: 8.062 kB / 0.82 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001244/0.4628, allocations: 1.812 kB / 0.82 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002337/0.463, allocations: 113.9 kB / 0.8201 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.4633, allocations: 0.6785 MB / 0.8208 GB, free: 18.82 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.542e-05/0.4633, allocations: 0.9062 kB / 0.8208 GB, free: 18.82 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.925e-05/0.4634, allocations: 12.81 kB / 0.8208 GB, free: 18.8 MB / 0.5919 GB Notification: Performance of SimCode: time 2.61e-07/0.4634, allocations: 0 / 0.8208 GB, free: 18.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.4851, allocations: 0.9421 MB / 0.8217 GB, free: 18.46 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.475/7.961, allocations: 5.969 kB / 0.8217 GB, free: 18.45 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.514277855865657] Failed to read output from testmodel.py, exit status != 0: 8.034831120632589 8.045570284 7.582310104 Calling exit ...