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.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.001966/0.001966, allocations: 115.6 kB / 17.84 MB, free: 5.223 MB / 14.72 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.003032/0.003032, allocations: 201.6 kB / 20.79 MB, free: 2.281 MB / 14.72 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 1.555/1.555, allocations: 230.6 MB / 254.2 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.015/1.015, allocations: 150 MB / 460.2 MB, free: 5.27 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001979/0.001979, allocations: 67.16 kB / 0.6368 GB, free: 30.63 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1604, allocations: 89.13 MB / 0.7238 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.002977/0.1634, allocations: 1.502 MB / 0.7253 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003685/0.1638, allocations: 107.7 kB / 0.7254 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.114e-05/0.1638, allocations: 0 / 0.7254 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.959e-05/0.1639, allocations: 3.938 kB / 0.7254 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.55e-05/0.1639, allocations: 19.86 kB / 0.7254 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.1642, allocations: 19.97 kB / 0.7255 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.1643, allocations: 51.78 kB / 0.7255 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.672e-05/0.1644, allocations: 4 kB / 0.7255 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.044e-05/0.1644, allocations: 19.92 kB / 0.7255 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.338e-05/0.1645, allocations: 23.91 kB / 0.7256 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.1645, allocations: 4 kB / 0.7256 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.567e-05/0.1646, allocations: 23.98 kB / 0.7256 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.665e-05/0.1647, allocations: 15.92 kB / 0.7256 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.096e-05/0.1647, allocations: 23.88 kB / 0.7256 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.1649, allocations: 64.06 kB / 0.7257 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1649, allocations: 0 / 0.7257 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1649, allocations: 0 / 0.7257 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.1649, allocations: 3.938 kB / 0.7257 GB, free: 2.23 MB / 0.5294 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.0006155/0.1655, allocations: 375.2 kB / 0.726 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.1655, allocations: 8.031 kB / 0.726 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.614e-05/0.1655, allocations: 4.172 kB / 0.7261 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.383e-05/0.1656, allocations: 38.75 kB / 0.7261 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002396/0.1658, allocations: 24.88 kB / 0.7261 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.166, allocations: 180.2 kB / 0.7263 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.166, allocations: 384 / 0.7263 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.166, allocations: 8.375 kB / 0.7263 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002987/0.1663, allocations: 81.95 kB / 0.7264 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1663, allocations: 4 kB / 0.7264 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.1663, allocations: 0 / 0.7264 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1663, allocations: 4 kB / 0.7264 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003337/0.1667, allocations: 75.91 kB / 0.7265 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004664/0.1671, allocations: 308.8 kB / 0.7267 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.1674, allocations: 68.42 kB / 0.7268 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.1675, allocations: 44.91 kB / 0.7269 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.1676, allocations: 0 / 0.7269 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.1676, allocations: 38.56 kB / 0.7269 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.1676, allocations: 0 / 0.7269 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0006389/0.1682, allocations: 157.5 kB / 0.727 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.1683, allocations: 51.41 kB / 0.7271 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.1684, allocations: 133.8 kB / 0.7272 GB, free: 468 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.1684, allocations: 29.64 kB / 0.7272 GB, free: 432 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.631e-05/0.1685, allocations: 88.12 kB / 0.7273 GB, free: 340 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.1685, allocations: 19.84 kB / 0.7273 GB, free: 320 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.1685, allocations: 13.72 kB / 0.7274 GB, free: 300 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1687, allocations: 322.8 kB / 0.7277 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.1688, allocations: 31.97 kB / 0.7277 GB, free: 15.94 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.169, allocations: 47.95 kB / 0.7277 GB, free: 15.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004131/0.1694, allocations: 81.05 kB / 0.7278 GB, free: 15.81 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1694, allocations: 0 / 0.7278 GB, free: 15.81 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003964/0.1698, allocations: 125.5 kB / 0.7279 GB, free: 15.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.1698, allocations: 7.938 kB / 0.7279 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1698, allocations: 0 / 0.7279 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1699, allocations: 0 / 0.7279 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.17, allocations: 19.97 kB / 0.728 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.17, allocations: 0 / 0.728 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.1701, allocations: 15.94 kB / 0.728 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.1701, allocations: 0 / 0.728 GB, free: 15.64 MB / 0.545 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 0.0001026/0.1702, allocations: 121.8 kB / 0.7281 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.1703, allocations: 4 kB / 0.7281 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.329e-05/0.1703, allocations: 11.89 kB / 0.7281 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1703, allocations: 0 / 0.7281 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1703, allocations: 0 / 0.7281 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1703, allocations: 4 kB / 0.7281 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.1705, allocations: 181.6 kB / 0.7283 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1705, allocations: 0 / 0.7283 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.1707, allocations: 23.97 kB / 0.7283 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.1707, allocations: 0 / 0.7283 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.1707, allocations: 3.938 kB / 0.7283 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1707, allocations: 0 / 0.7283 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1707, allocations: 4 kB / 0.7283 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004489/0.1711, allocations: 215.4 kB / 0.7285 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.252e-05/0.1712, allocations: 85.06 kB / 0.7286 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.1712, allocations: 0 / 0.7286 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.1713, allocations: 15.97 kB / 0.7286 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.848e-05/0.1714, allocations: 4 kB / 0.7286 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.1714, allocations: 4 kB / 0.7286 GB, free: 14.87 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.37e-05/0.1715, allocations: 97.77 kB / 0.7287 GB, free: 14.78 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1715, allocations: 0 / 0.7287 GB, free: 14.78 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002336/0.1717, allocations: 8 kB / 0.7287 GB, free: 14.77 MB / 0.545 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.0008636/0.1726, allocations: 0.7513 MB / 0.7295 GB, free: 13.99 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004056/0.173, allocations: 91.84 kB / 0.7296 GB, free: 13.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.173, allocations: 0 / 0.7296 GB, free: 13.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001761/0.1732, allocations: 43.89 kB / 0.7296 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.1734, allocations: 9.406 kB / 0.7296 GB, free: 13.85 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006032/0.174, allocations: 187 kB / 0.7298 GB, free: 13.63 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.1744, allocations: 0.6923 MB / 0.7305 GB, free: 12.91 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.636e-05/0.1744, allocations: 4 kB / 0.7305 GB, free: 12.91 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.036e-05/0.1745, allocations: 15.42 kB / 0.7305 GB, free: 12.89 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.1745, allocations: 0 / 0.7305 GB, free: 12.89 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01847/0.193, allocations: 1.9 MB / 0.7323 GB, free: 11.13 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.4/8.593, allocations: 10.62 kB / 0.7323 GB, free: 11.12 MB / 0.545 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.606111469038296] Failed to read output from testmodel.py, exit status != 0: 8.719150172022637 8.738161829 8.569851761 Calling exit ...