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.0008534/0.0008534, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008907/0.0008907, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9148/0.9148, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.5843/0.5843, allocations: 114 MB / 373.9 MB, free: 8.684 MB / 346.7 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="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 1.653e-06/1.653e-06, allocations: 0 / 0.5542 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/1.869e-05, allocations: 4.469 kB / 0.5542 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.001862/0.001881, allocations: 1.497 MB / 0.5557 GB, free: 1.215 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0002617/0.002143, allocations: 103.7 kB / 0.5558 GB, free: 1.113 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.403e-05/0.002177, allocations: 0 / 0.5558 GB, free: 1.113 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 4.029e-05/0.002217, allocations: 3.938 kB / 0.5558 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.645e-05/0.002274, allocations: 11.94 kB / 0.5558 GB, free: 1.098 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.0025, allocations: 23.91 kB / 0.5558 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.963e-05/0.00258, allocations: 51.83 kB / 0.5558 GB, free: 1.023 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.682e-05/0.002677, allocations: 4 kB / 0.5559 GB, free: 1.02 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 6.026e-05/0.002737, allocations: 23.92 kB / 0.5559 GB, free: 0.9961 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.195e-05/0.002779, allocations: 15.97 kB / 0.5559 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.002795, allocations: 4 kB / 0.5559 GB, free: 0.9766 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.986e-05/0.002854, allocations: 19.98 kB / 0.5559 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 5.093e-05/0.002905, allocations: 15.92 kB / 0.5559 GB, free: 0.9414 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.92e-05/0.002925, allocations: 8 kB / 0.5559 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.003048, allocations: 67.78 kB / 0.556 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.00305, allocations: 0 / 0.556 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.323e-06/0.003051, allocations: 4 kB / 0.556 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.003055, allocations: 0 / 0.556 GB, free: 0.8633 MB / 0.5105 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.0003929/0.003448, allocations: 311.2 kB / 0.5563 GB, free: 0.5273 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.003491, allocations: 8.625 kB / 0.5563 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.961e-05/0.003521, allocations: 30.75 kB / 0.5563 GB, free: 492 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.00369, allocations: 32.86 kB / 0.5564 GB, free: 460 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.733e-05/0.003788, allocations: 117.7 kB / 0.5565 GB, free: 316 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.003799, allocations: 4.312 kB / 0.5565 GB, free: 312 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.003809, allocations: 4.375 kB / 0.5565 GB, free: 308 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.003996, allocations: 74.2 kB / 0.5566 GB, free: 228 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.004003, allocations: 192 / 0.5566 GB, free: 228 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.004014, allocations: 8.359 kB / 0.5566 GB, free: 220 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.004023, allocations: 8.125 kB / 0.5566 GB, free: 212 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.004188, allocations: 79.91 kB / 0.5567 GB, free: 132 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.00462, allocations: 263.9 kB / 0.5569 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.004766, allocations: 70.47 kB / 0.557 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.868e-05/0.004855, allocations: 48.91 kB / 0.557 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.00487, allocations: 3.938 kB / 0.557 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.004896, allocations: 42.55 kB / 0.5571 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.004897, allocations: 0 / 0.5571 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.000353/0.00525, allocations: 149.5 kB / 0.5572 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.005281, allocations: 59.39 kB / 0.5573 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.005414, allocations: 125.8 kB / 0.5574 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.005426, allocations: 25.7 kB / 0.5574 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.441e-05/0.005471, allocations: 92.12 kB / 0.5575 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.005494, allocations: 11.89 kB / 0.5575 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.005523, allocations: 13.72 kB / 0.5575 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.668e-05/0.00561, allocations: 322.8 kB / 0.5578 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.982e-05/0.00569, allocations: 35.95 kB / 0.5579 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.377e-05/0.005763, allocations: 43.95 kB / 0.5579 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.005908, allocations: 80.78 kB / 0.558 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.00591, allocations: 3.938 kB / 0.558 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001832/0.006093, allocations: 121.5 kB / 0.5581 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.006108, allocations: 8 kB / 0.5581 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.006113, allocations: 0 / 0.5581 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.006125, allocations: 0 / 0.5581 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.816e-05/0.006213, allocations: 15.97 kB / 0.5581 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.00622, allocations: 4 kB / 0.5581 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.256e-05/0.006262, allocations: 7.984 kB / 0.5581 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.006272, allocations: 12 kB / 0.5581 GB, free: 14.47 MB / 0.5261 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.0001351/0.006407, allocations: 113.8 kB / 0.5583 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.006423, allocations: 15.83 kB / 0.5583 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.553e-05/0.006449, allocations: 12 kB / 0.5583 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.006451, allocations: 0 / 0.5583 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.006456, allocations: 0 / 0.5583 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.006459, allocations: 0 / 0.5583 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.006579, allocations: 148.7 kB / 0.5584 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.00658, allocations: 0 / 0.5584 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.42e-05/0.006624, allocations: 19.86 kB / 0.5584 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.006626, allocations: 4 kB / 0.5584 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.006633, allocations: 0 / 0.5584 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.006634, allocations: 4 kB / 0.5584 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.006634, allocations: 0 / 0.5584 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.006843, allocations: 215.7 kB / 0.5587 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-06/0.006852, allocations: 3.938 kB / 0.5587 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.006863, allocations: 4 kB / 0.5587 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.35e-05/0.006917, allocations: 11.98 kB / 0.5587 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.006953, allocations: 15.92 kB / 0.5587 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.006956, allocations: 0 / 0.5587 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.038e-05/0.006997, allocations: 106 kB / 0.5588 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.006997, allocations: 0 / 0.5588 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001427/0.00714, allocations: 11.95 kB / 0.5588 GB, free: 13.73 MB / 0.5261 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.0003979/0.007538, allocations: 0.7397 MB / 0.5595 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000222/0.00776, allocations: 87.91 kB / 0.5596 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.007762, allocations: 0 / 0.5596 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.285e-05/0.007845, allocations: 43.89 kB / 0.5596 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.008059, allocations: 12.72 kB / 0.5597 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004698/0.008529, allocations: 186.4 kB / 0.5598 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.00879, allocations: 75.27 kB / 0.5599 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.747e-05/0.008817, allocations: 0 / 0.5599 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.512e-05/0.008873, allocations: 16.5 kB / 0.5599 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of SimCode: time 6.01e-07/0.008873, allocations: 0 / 0.5599 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01479/0.02366, allocations: 2.553 MB / 0.5624 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.031/7.055, allocations: 18.16 kB / 0.5624 GB, free: 10.07 MB / 0.5261 GB " [Timeout remaining time 653] (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: 9.676018866710365] Failed to read output from testmodel.py, exit status != 0: 7.137994904071093 7.150127398 7.144722907 Calling exit ...