Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.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.001601/0.001601, allocations: 119.9 kB / 17.13 MB, free: 6.008 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.00162/0.00162, allocations: 191.7 kB / 20.08 MB, free: 3.078 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.517/1.517, allocations: 225.6 MB / 248.5 MB, free: 3.621 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.8939/0.8939, allocations: 129.2 MB / 432.5 MB, free: 13.28 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.QuadraticLinear,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 67.89 kB / 0.5987 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4281/0.4302, allocations: 83.44 MB / 0.6802 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.002317/0.4325, allocations: 1.488 MB / 0.6816 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003158/0.4328, allocations: 109.1 kB / 0.6817 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.025e-05/0.4328, allocations: 0 / 0.6817 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.619e-05/0.4329, allocations: 7.922 kB / 0.6817 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.524e-05/0.4329, allocations: 10.5 kB / 0.6818 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.4331, allocations: 21.5 kB / 0.6818 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.939e-05/0.4332, allocations: 45.75 kB / 0.6818 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.81e-05/0.4333, allocations: 14.42 kB / 0.6818 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.018e-05/0.4333, allocations: 18.7 kB / 0.6819 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.868e-05/0.4334, allocations: 28.86 kB / 0.6819 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.4334, allocations: 3.875 kB / 0.6819 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.744e-05/0.4335, allocations: 20.48 kB / 0.6819 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.697e-05/0.4335, allocations: 10.92 kB / 0.6819 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.053e-05/0.4336, allocations: 24.03 kB / 0.6819 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.4337, allocations: 60.06 kB / 0.682 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.4337, allocations: 0 / 0.682 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.316e-06/0.4337, allocations: 0 / 0.682 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.363e-05/0.4337, allocations: 1.25 kB / 0.682 GB, free: 4.547 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004662/0.4342, allocations: 377.7 kB / 0.6824 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.4342, allocations: 17.95 kB / 0.6824 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.244e-05/0.4342, allocations: 35.88 kB / 0.6824 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.264e-05/0.4343, allocations: 3.312 kB / 0.6824 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.647e-05/0.4343, allocations: 180.8 kB / 0.6826 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.4344, allocations: 1.438 kB / 0.6826 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.4344, allocations: 1.531 kB / 0.6826 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.4346, allocations: 84.45 kB / 0.6827 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.4346, allocations: 3.938 kB / 0.6827 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.4346, allocations: 0 / 0.6827 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.4346, allocations: 1.281 kB / 0.6827 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000279/0.4349, allocations: 79.31 kB / 0.6827 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003082/0.4352, allocations: 285.3 kB / 0.683 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.4354, allocations: 67.22 kB / 0.6831 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.4356, allocations: 38.52 kB / 0.6831 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002351/0.4358, allocations: 120 kB / 0.6832 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.4358, allocations: 30.56 kB / 0.6833 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.4358, allocations: 0 / 0.6833 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005089/0.4363, allocations: 147.4 kB / 0.6834 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.069e-05/0.4364, allocations: 55.39 kB / 0.6835 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.545e-05/0.4364, allocations: 133 kB / 0.6836 GB, free: 3 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.4364, allocations: 25.7 kB / 0.6836 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.414e-05/0.4365, allocations: 91.84 kB / 0.6837 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.4365, allocations: 9.328 kB / 0.6837 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.4365, allocations: 12.47 kB / 0.6837 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.558e-05/0.4366, allocations: 324.2 kB / 0.684 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.4367, allocations: 33.5 kB / 0.6841 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.4368, allocations: 37.7 kB / 0.6841 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.4371, allocations: 78.38 kB / 0.6842 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4371, allocations: 5.469 kB / 0.6842 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002888/0.4374, allocations: 113.7 kB / 0.6843 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.4374, allocations: 5.469 kB / 0.6843 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.4374, allocations: 4 kB / 0.6843 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.4374, allocations: 3.938 kB / 0.6843 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.4375, allocations: 18.64 kB / 0.6843 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.4375, allocations: 9.172 kB / 0.6843 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.913e-05/0.4376, allocations: 10.39 kB / 0.6843 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.4376, allocations: 5.062 kB / 0.6843 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 5.524e-05/0.4377, allocations: 121.3 kB / 0.6845 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.4377, allocations: 7.078 kB / 0.6845 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003479/0.438, allocations: 117.4 kB / 0.6846 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.438, allocations: 1.031 kB / 0.6846 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.438, allocations: 3.984 kB / 0.6846 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.438, allocations: 0 / 0.6846 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.4382, allocations: 180.6 kB / 0.6847 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.4382, allocations: 3.984 kB / 0.6848 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.775e-05/0.4383, allocations: 18.58 kB / 0.6848 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4383, allocations: 1.062 kB / 0.6848 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.4383, allocations: 0 / 0.6848 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4383, allocations: 5.094 kB / 0.6848 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4383, allocations: 384 / 0.6848 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003174/0.4386, allocations: 213 kB / 0.685 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.178e-05/0.4386, allocations: 87.03 kB / 0.6851 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.4386, allocations: 0 / 0.6851 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.675e-05/0.4387, allocations: 14.64 kB / 0.6851 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.4388, allocations: 6.016 kB / 0.6851 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.4388, allocations: 1.062 kB / 0.6851 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.239e-05/0.4388, allocations: 100.2 kB / 0.6852 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.4388, allocations: 0 / 0.6852 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002222/0.439, allocations: 9.938 kB / 0.6852 GB, free: 1.547 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.0005148/0.4396, allocations: 0.7444 MB / 0.6859 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003182/0.4399, allocations: 81.41 kB / 0.686 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.4399, allocations: 4 kB / 0.686 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.44, allocations: 44.83 kB / 0.686 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.4403, allocations: 6.562 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.0004391/0.4407, allocations: 181.9 kB / 0.6862 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00017/0.4409, allocations: 0.6824 MB / 0.6869 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.887e-05/0.4409, allocations: 14.52 kB / 0.6869 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.103e-05/0.4409, allocations: 20.72 kB / 0.6869 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of SimCode: time 3.3e-07/0.4409, allocations: 0 / 0.6869 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02576/0.4667, allocations: 1.888 MB / 0.6888 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.123/8.589, allocations: 12.75 kB / 0.6888 GB, free: 14.85 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.095855853985995] Failed to read output from testmodel.py, exit status != 0: 8.658102978952229 8.68548648 8.246689869999999 Calling exit ...