Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.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.0008399/0.0008399, allocations: 80.48 kB / 19.93 MB, free: 4.621 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.0008982/0.0008982, allocations: 173.9 kB / 23.21 MB, free: 1.344 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.9405/0.9405, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.5647/0.5647, allocations: 114 MB / 373.9 MB, free: 8.695 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.Polynomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Polynomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.5542 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.72e-05/2.902e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Polynomial): time 0.002048/0.002077, allocations: 1.46 MB / 0.5556 GB, free: 1.301 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0002369/0.002314, allocations: 79.83 kB / 0.5557 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.57e-05/0.00234, allocations: 4 kB / 0.5557 GB, free: 1.219 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 5.297e-05/0.002393, allocations: 3.938 kB / 0.5557 GB, free: 1.215 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 2.971e-05/0.002422, allocations: 0 / 0.5557 GB, free: 1.215 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.002638, allocations: 19.91 kB / 0.5557 GB, free: 1.195 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.072e-05/0.002699, allocations: 27.92 kB / 0.5558 GB, free: 1.168 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 7.408e-05/0.002773, allocations: 7.984 kB / 0.5558 GB, free: 1.16 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.149e-05/0.002805, allocations: 11.94 kB / 0.5558 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 2.651e-05/0.002831, allocations: 11.98 kB / 0.5558 GB, free: 1.137 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.002847, allocations: 4 kB / 0.5558 GB, free: 1.133 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 6.791e-05/0.002915, allocations: 15.97 kB / 0.5558 GB, free: 1.117 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 3.595e-05/0.002951, allocations: 8 kB / 0.5558 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.53e-05/0.002966, allocations: 7.922 kB / 0.5558 GB, free: 1.102 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 9.519e-05/0.003062, allocations: 35.89 kB / 0.5559 GB, free: 1.066 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.003065, allocations: 4 kB / 0.5559 GB, free: 1.062 MB / 0.5105 GB Notification: Performance of FrontEnd: time 6.51e-07/0.003065, allocations: 0 / 0.5559 GB, free: 1.062 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.003069, allocations: 0 / 0.5559 GB, free: 1.062 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002923/0.003362, allocations: 270.3 kB / 0.5561 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.003395, allocations: 8.625 kB / 0.5561 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.712e-05/0.003422, allocations: 34.73 kB / 0.5562 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.786e-05/0.00344, allocations: 4.938 kB / 0.5562 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.674e-05/0.003507, allocations: 105.8 kB / 0.5563 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.003515, allocations: 4.375 kB / 0.5563 GB, free: 0.5781 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-06/0.003522, allocations: 384 / 0.5563 GB, free: 0.5781 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.003638, allocations: 54.17 kB / 0.5563 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.003644, allocations: 192 / 0.5563 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-06/0.003651, allocations: 4.375 kB / 0.5563 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.003658, allocations: 8.125 kB / 0.5563 GB, free: 0.5078 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.591e-05/0.003744, allocations: 35.95 kB / 0.5564 GB, free: 484 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002455/0.003989, allocations: 220.1 kB / 0.5566 GB, free: 220 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.401e-05/0.004063, allocations: 38.56 kB / 0.5566 GB, free: 172 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.194e-05/0.004105, allocations: 28.78 kB / 0.5566 GB, free: 140 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.004136, allocations: 19.91 kB / 0.5567 GB, free: 120 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.004154, allocations: 38.5 kB / 0.5567 GB, free: 72 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/0.004155, allocations: 0 / 0.5567 GB, free: 72 kB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0002118/0.004367, allocations: 81.7 kB / 0.5568 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.004393, allocations: 59.34 kB / 0.5568 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.617e-05/0.004449, allocations: 105.8 kB / 0.5569 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.365e-06/0.004458, allocations: 25.7 kB / 0.557 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.213e-05/0.00449, allocations: 84.09 kB / 0.557 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/0.004505, allocations: 12.06 kB / 0.557 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/0.004528, allocations: 13.72 kB / 0.5571 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.524e-05/0.004593, allocations: 314.8 kB / 0.5574 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.051e-05/0.004634, allocations: 23.92 kB / 0.5574 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.37e-05/0.004668, allocations: 15.98 kB / 0.5574 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.396e-05/0.004742, allocations: 44.81 kB / 0.5574 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.004743, allocations: 4.062 kB / 0.5574 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001031/0.004846, allocations: 77.55 kB / 0.5575 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.004856, allocations: 4 kB / 0.5575 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.00486, allocations: 0 / 0.5575 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.00487, allocations: 0 / 0.5575 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.145e-05/0.004922, allocations: 8.25 kB / 0.5575 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.004925, allocations: 0 / 0.5575 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.197e-05/0.004947, allocations: 15.92 kB / 0.5575 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-06/0.004951, allocations: 4.031 kB / 0.5575 GB, free: 15.13 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 (2): * Single equations (assignments): 2 * 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.189e-05/0.005003, allocations: 113.8 kB / 0.5577 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.133e-05/0.005014, allocations: 3.938 kB / 0.5577 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.005136, allocations: 73.27 kB / 0.5577 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.005138, allocations: 4 kB / 0.5577 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.217e-06/0.005141, allocations: 0 / 0.5577 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.005143, allocations: 0 / 0.5577 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.313e-05/0.005236, allocations: 132.8 kB / 0.5579 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.005238, allocations: 4.031 kB / 0.5579 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.294e-05/0.005261, allocations: 7.984 kB / 0.5579 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.005263, allocations: 3.938 kB / 0.5579 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.708e-06/0.005267, allocations: 0 / 0.5579 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.005269, allocations: 4 kB / 0.5579 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.00527, allocations: 3.938 kB / 0.5579 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.005389, allocations: 167.4 kB / 0.558 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-06/0.005395, allocations: 3.938 kB / 0.558 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.547e-06/0.005404, allocations: 4.031 kB / 0.5581 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.514e-05/0.005439, allocations: 11.98 kB / 0.5581 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.75e-05/0.005466, allocations: 0 / 0.5581 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/0.005469, allocations: 4 kB / 0.5581 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.654e-05/0.005496, allocations: 87.2 kB / 0.5581 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.005496, allocations: 0 / 0.5581 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001412/0.005637, allocations: 8 kB / 0.5582 GB, free: 14.43 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 (2): * Single equations (assignments): 2 * 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.0003165/0.005953, allocations: 0.6968 MB / 0.5588 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001154/0.006069, allocations: 43.95 kB / 0.5589 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.00607, allocations: 0 / 0.5589 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.793e-05/0.006108, allocations: 19.98 kB / 0.5589 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/0.006286, allocations: 4 kB / 0.5589 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003015/0.006588, allocations: 150.4 kB / 0.559 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.822e-05/0.006626, allocations: 67.41 kB / 0.5591 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.518e-05/0.006641, allocations: 4.188 kB / 0.5591 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.616e-05/0.006677, allocations: 12.5 kB / 0.5591 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of SimCode: time 4.81e-07/0.006678, allocations: 0 / 0.5591 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01404/0.02072, allocations: 2.08 MB / 0.5612 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.933/6.954, allocations: 1.25 kB / 0.5612 GB, free: 11.41 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Math_Examples_Polynomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.623886965215206] Failed to read output from testmodel.py, exit status != 0: 7.03619996830821 7.051634574 7.04615343 Calling exit ...