Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.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.001619/0.001619, allocations: 117.2 kB / 17.13 MB, free: 5.918 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.001783/0.001783, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.507/1.507, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8492/0.8492, allocations: 129.2 MB / 432.5 MB, free: 13.45 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Examples.Average,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Average,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 67.83 kB / 0.5987 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4262/0.4282, allocations: 83.44 MB / 0.6802 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.003805/0.432, allocations: 1.538 MB / 0.6817 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000335/0.4324, allocations: 118.4 kB / 0.6818 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.367e-05/0.4324, allocations: 0 / 0.6818 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001404/0.4326, allocations: 13.39 kB / 0.6818 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.51e-05/0.4326, allocations: 9.125 kB / 0.6818 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.4329, allocations: 27.41 kB / 0.6818 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.433, allocations: 58.19 kB / 0.6819 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.4332, allocations: 26.72 kB / 0.6819 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.52e-05/0.4332, allocations: 20.73 kB / 0.6819 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.473e-05/0.4333, allocations: 29.97 kB / 0.682 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.4333, allocations: 4.281 kB / 0.682 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.724e-05/0.4334, allocations: 15.61 kB / 0.682 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.8e-05/0.4335, allocations: 16.23 kB / 0.682 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.284e-05/0.4335, allocations: 21.28 kB / 0.682 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.4337, allocations: 63.73 kB / 0.6821 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.4337, allocations: 3.984 kB / 0.6821 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.492e-06/0.4337, allocations: 3.938 kB / 0.6821 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.4337, allocations: 4.938 kB / 0.6821 GB, free: 4.465 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000513/0.4342, allocations: 372.3 kB / 0.6825 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.4342, allocations: 9.719 kB / 0.6825 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.422e-05/0.4343, allocations: 43.95 kB / 0.6825 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.4343, allocations: 7.578 kB / 0.6825 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.4345, allocations: 179.5 kB / 0.6827 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.4345, allocations: 6.844 kB / 0.6827 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.4345, allocations: 6.625 kB / 0.6827 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002708/0.4348, allocations: 85.17 kB / 0.6828 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.4348, allocations: 3.938 kB / 0.6828 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.4348, allocations: 1.031 kB / 0.6828 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.4348, allocations: 4.922 kB / 0.6828 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002879/0.4351, allocations: 85.58 kB / 0.6829 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004713/0.4356, allocations: 323.1 kB / 0.6832 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.4358, allocations: 61.69 kB / 0.6832 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.4359, allocations: 47.89 kB / 0.6833 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.896e-05/0.4359, allocations: 2.438 kB / 0.6833 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.436, allocations: 31.72 kB / 0.6833 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.436, allocations: 0 / 0.6833 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005129/0.4365, allocations: 149.6 kB / 0.6835 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.4365, allocations: 52.59 kB / 0.6835 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.859e-05/0.4366, allocations: 115.3 kB / 0.6836 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.4366, allocations: 33.64 kB / 0.6837 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.855e-05/0.4366, allocations: 91.48 kB / 0.6837 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.4366, allocations: 9.031 kB / 0.6837 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.4367, allocations: 21.7 kB / 0.6838 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.828e-05/0.4367, allocations: 320 kB / 0.6841 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.4369, allocations: 33.83 kB / 0.6841 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.437, allocations: 31.78 kB / 0.6841 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002418/0.4372, allocations: 77.47 kB / 0.6842 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4373, allocations: 0 / 0.6842 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002787/0.4375, allocations: 109 kB / 0.6843 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.4375, allocations: 7.312 kB / 0.6843 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.4375, allocations: 0 / 0.6843 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.4376, allocations: 1.062 kB / 0.6843 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.4377, allocations: 18.66 kB / 0.6843 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.4377, allocations: 4 kB / 0.6843 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.971e-05/0.4378, allocations: 10.52 kB / 0.6844 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.4378, allocations: 1.531 kB / 0.6844 GB, free: 2.359 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.318e-05/0.4378, allocations: 118.8 kB / 0.6845 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.4379, allocations: 2.406 kB / 0.6845 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003287/0.4382, allocations: 114.7 kB / 0.6846 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.4382, allocations: 5.375 kB / 0.6846 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4382, allocations: 0 / 0.6846 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4382, allocations: 1.406 kB / 0.6846 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.4383, allocations: 181.4 kB / 0.6848 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4383, allocations: 0 / 0.6848 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.755e-05/0.4384, allocations: 19.45 kB / 0.6848 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4384, allocations: 0 / 0.6848 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.4384, allocations: 1.156 kB / 0.6848 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4384, allocations: 7.984 kB / 0.6848 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4384, allocations: 3.938 kB / 0.6848 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/0.4388, allocations: 200 kB / 0.685 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.194e-05/0.4388, allocations: 90.72 kB / 0.6851 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.4388, allocations: 1.375 kB / 0.6851 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.4389, allocations: 14.61 kB / 0.6851 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.072e-05/0.439, allocations: 5.25 kB / 0.6851 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.439, allocations: 1.531 kB / 0.6851 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.986e-05/0.439, allocations: 96.14 kB / 0.6852 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.439, allocations: 0 / 0.6852 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002404/0.4393, allocations: 13.12 kB / 0.6852 GB, free: 1.543 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0006096/0.4399, allocations: 0.7393 MB / 0.6859 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003556/0.4403, allocations: 83.45 kB / 0.686 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4403, allocations: 0 / 0.686 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.4404, allocations: 43.45 kB / 0.686 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.4408, allocations: 2.156 kB / 0.686 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.4425, allocations: 1.421 MB / 0.6874 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.4429, allocations: 0.6896 MB / 0.6881 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.686e-05/0.443, allocations: 7.578 kB / 0.6881 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.432e-05/0.443, allocations: 17.66 kB / 0.6881 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of SimCode: time 2.81e-07/0.443, allocations: 4 kB / 0.6881 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/0.4695, allocations: 1.828 MB / 0.6899 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.106/8.576, allocations: 9.406 kB / 0.6899 GB, free: 13.74 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_Average_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_Average.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.986216105986387] Failed to read output from testmodel.py, exit status != 0: 8.646238597109914 8.672297972 8.233703099 Calling exit ...