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.001258/0.001258, allocations: 84.64 kB / 19.94 MB, free: 1.777 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.001454/0.001454, allocations: 163.1 kB / 23.21 MB, free: 4.902 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.417/1.417, allocations: 177.1 MB / 203.5 MB, free: 9.168 MB / 190.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 0.9106/0.9106, allocations: 114 MB / 373.9 MB, free: 13.26 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: translateModel(IBPSA.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear") translateModel(IBPSA.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.5547 GB, free: 2.613 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.645e-05, allocations: 6.219 kB / 0.5547 GB, free: 2.609 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.002651/0.002678, allocations: 1.506 MB / 0.5561 GB, free: 1.098 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003262/0.003004, allocations: 111.6 kB / 0.5563 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.128e-05/0.003045, allocations: 0 / 0.5563 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 5.279e-05/0.003098, allocations: 7.922 kB / 0.5563 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.439e-05/0.003162, allocations: 11.88 kB / 0.5563 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.003401, allocations: 27.91 kB / 0.5563 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 8.499e-05/0.003486, allocations: 39.86 kB / 0.5563 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.475e-05/0.003571, allocations: 11.98 kB / 0.5563 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.346e-05/0.003634, allocations: 23.97 kB / 0.5564 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.434e-05/0.003688, allocations: 15.92 kB / 0.5564 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.003705, allocations: 4 kB / 0.5564 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.076e-05/0.003775, allocations: 23.92 kB / 0.5564 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.105e-05/0.003826, allocations: 15.92 kB / 0.5564 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.088e-05/0.003857, allocations: 11.98 kB / 0.5564 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.004014, allocations: 67.8 kB / 0.5565 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.004017, allocations: 0 / 0.5565 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.004018, allocations: 0 / 0.5565 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.004026, allocations: 3.984 kB / 0.5565 GB, free: 0.7266 MB / 462.1 MB 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.0005869/0.004613, allocations: 298.1 kB / 0.5568 GB, free: 412 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.004656, allocations: 8.625 kB / 0.5568 GB, free: 404 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002207/0.004877, allocations: 28.86 kB / 0.5568 GB, free: 376 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.005023, allocations: 117.8 kB / 0.5569 GB, free: 232 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.00504, allocations: 4.375 kB / 0.5569 GB, free: 228 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.005051, allocations: 384 / 0.5569 GB, free: 228 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002891/0.005341, allocations: 78.2 kB / 0.557 GB, free: 144 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.005354, allocations: 4.125 kB / 0.557 GB, free: 140 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.005366, allocations: 384 / 0.557 GB, free: 140 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.005373, allocations: 4.375 kB / 0.557 GB, free: 136 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003303/0.005703, allocations: 87.84 kB / 0.5571 GB, free: 48 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004918/0.006195, allocations: 236.5 kB / 0.5573 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002456/0.006441, allocations: 74.5 kB / 0.5574 GB, free: 15.7 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.006615, allocations: 44.91 kB / 0.5574 GB, free: 15.66 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.006633, allocations: 11.88 kB / 0.5575 GB, free: 15.64 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.569e-05/0.006689, allocations: 38.56 kB / 0.5575 GB, free: 15.6 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.00669, allocations: 0 / 0.5575 GB, free: 15.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006296/0.007319, allocations: 149.5 kB / 0.5576 GB, free: 15.45 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.007379, allocations: 55.34 kB / 0.5577 GB, free: 15.38 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.007513, allocations: 129.8 kB / 0.5578 GB, free: 15.24 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.007539, allocations: 29.69 kB / 0.5578 GB, free: 15.21 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.105e-05/0.00762, allocations: 92.09 kB / 0.5579 GB, free: 15.11 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.007652, allocations: 11.94 kB / 0.5579 GB, free: 15.1 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/0.007701, allocations: 13.72 kB / 0.558 GB, free: 15.08 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.007865, allocations: 318.8 kB / 0.5583 GB, free: 14.76 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.008032, allocations: 39.95 kB / 0.5583 GB, free: 14.72 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.008198, allocations: 43.89 kB / 0.5583 GB, free: 14.68 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003201/0.008518, allocations: 84.78 kB / 0.5584 GB, free: 14.59 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.008519, allocations: 0 / 0.5584 GB, free: 14.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003765/0.008896, allocations: 113.6 kB / 0.5585 GB, free: 14.48 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.008916, allocations: 9.969 kB / 0.5585 GB, free: 14.47 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.008921, allocations: 4 kB / 0.5585 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.008937, allocations: 7.984 kB / 0.5586 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.009089, allocations: 11.98 kB / 0.5586 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.009097, allocations: 4 kB / 0.5586 GB, free: 14.44 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.402e-05/0.009191, allocations: 11.98 kB / 0.5586 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.009204, allocations: 8 kB / 0.5586 GB, free: 14.42 MB / 478.1 MB 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 9.809e-05/0.009302, allocations: 121.7 kB / 0.5587 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.009329, allocations: 3.953 kB / 0.5587 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.009359, allocations: 19.94 kB / 0.5587 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.009361, allocations: 0 / 0.5587 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.009365, allocations: 0 / 0.5587 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.009367, allocations: 0 / 0.5587 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.00953, allocations: 121.3 kB / 0.5588 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.009531, allocations: 0 / 0.5588 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.009646, allocations: 19.98 kB / 0.5589 GB, free: 14.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.009648, allocations: 0 / 0.5589 GB, free: 14.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.009656, allocations: 0 / 0.5589 GB, free: 14.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.00966, allocations: 3.938 kB / 0.5589 GB, free: 14.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.009661, allocations: 8 kB / 0.5589 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004225/0.01008, allocations: 207.4 kB / 0.5591 GB, free: 13.87 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.082e-05/0.01009, allocations: 4.375 kB / 0.5591 GB, free: 13.87 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.01011, allocations: 3.938 kB / 0.5591 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.01024, allocations: 23.86 kB / 0.5591 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.01027, allocations: 3.984 kB / 0.5591 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.01028, allocations: 3.984 kB / 0.5591 GB, free: 13.83 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.597e-05/0.01036, allocations: 110 kB / 0.5592 GB, free: 13.73 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01036, allocations: 0 / 0.5592 GB, free: 13.73 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002329/0.01059, allocations: 12 kB / 0.5592 GB, free: 13.71 MB / 478.1 MB 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.0001134/0.0107, allocations: 91.25 kB / 0.5593 GB, free: 13.62 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0003854/0.01109, allocations: 79.91 kB / 0.5594 GB, free: 13.54 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.0111, allocations: 8 kB / 0.5594 GB, free: 13.53 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.01129, allocations: 51.89 kB / 0.5594 GB, free: 13.48 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.01153, allocations: 3.938 kB / 0.5594 GB, free: 13.48 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004064/0.01194, allocations: 144.8 kB / 0.5596 GB, free: 13.31 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.01205, allocations: 79.58 kB / 0.5597 GB, free: 13.21 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 3.416e-05/0.01208, allocations: 8 kB / 0.5597 GB, free: 13.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.022e-05/0.01212, allocations: 8.5 kB / 0.5597 GB, free: 13.2 MB / 478.1 MB Notification: Performance of SimCode: time 4.11e-07/0.01212, allocations: 0 / 0.5597 GB, free: 13.2 MB / 478.1 MB Notification: Performance of Templates: time 0.003523/0.01565, allocations: 0.8125 MB / 0.5605 GB, free: 12.4 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.115829065442085] Failed to read output from testmodel.py, exit status != 0: 0.02444218099117279 0.03861727299999994 0.03163137 Calling exit ...