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.0009306/0.0009306, allocations: 72.5 kB / 19.92 MB, free: 4.633 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.001034/0.001034, allocations: 174.3 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.92/0.92, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.572/0.572, allocations: 114 MB / 373.9 MB, free: 8.688 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 2.274e-06/2.274e-06, allocations: 0 / 0.5542 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/2.081e-05, allocations: 9.234 kB / 0.5542 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Polynomial): time 0.002084/0.002105, allocations: 1.455 MB / 0.5556 GB, free: 1.305 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0003419/0.002447, allocations: 79.81 kB / 0.5557 GB, free: 1.227 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.945e-05/0.002486, allocations: 0 / 0.5557 GB, free: 1.227 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 7.538e-05/0.002562, allocations: 3.938 kB / 0.5557 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.033e-05/0.002602, allocations: 11.94 kB / 0.5557 GB, free: 1.211 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.002914, allocations: 15.98 kB / 0.5557 GB, free: 1.195 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.488e-05/0.002989, allocations: 19.92 kB / 0.5557 GB, free: 1.176 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.00309, allocations: 8 kB / 0.5557 GB, free: 1.168 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.122e-05/0.003131, allocations: 15.97 kB / 0.5558 GB, free: 1.152 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 3.184e-05/0.003163, allocations: 7.984 kB / 0.5558 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.003179, allocations: 0 / 0.5558 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 7.389e-05/0.003253, allocations: 19.98 kB / 0.5558 GB, free: 1.125 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.301e-05/0.003296, allocations: 3.938 kB / 0.5558 GB, free: 1.121 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.969e-05/0.003316, allocations: 11.98 kB / 0.5558 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.003433, allocations: 39.83 kB / 0.5558 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.003436, allocations: 0 / 0.5558 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.192e-06/0.003437, allocations: 0 / 0.5558 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.003441, allocations: 0 / 0.5558 GB, free: 1.07 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.0003974/0.003839, allocations: 266.3 kB / 0.5561 GB, free: 0.7773 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.003884, allocations: 16.56 kB / 0.5561 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.438e-05/0.003918, allocations: 30.75 kB / 0.5561 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.757e-05/0.003946, allocations: 4.938 kB / 0.5561 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.938e-05/0.004035, allocations: 117.7 kB / 0.5563 GB, free: 0.5781 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.004045, allocations: 384 / 0.5563 GB, free: 0.5781 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.004056, allocations: 8.375 kB / 0.5563 GB, free: 0.5703 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.004207, allocations: 50.23 kB / 0.5563 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.004216, allocations: 192 / 0.5563 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.004226, allocations: 384 / 0.5563 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.004233, allocations: 4.125 kB / 0.5563 GB, free: 0.5117 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.387e-05/0.004327, allocations: 39.89 kB / 0.5564 GB, free: 484 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003072/0.004634, allocations: 216 kB / 0.5566 GB, free: 224 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.721e-05/0.004731, allocations: 42.59 kB / 0.5566 GB, free: 172 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.975e-05/0.004781, allocations: 28.91 kB / 0.5566 GB, free: 140 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.283e-05/0.004824, allocations: 7.938 kB / 0.5566 GB, free: 132 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.004851, allocations: 38.48 kB / 0.5567 GB, free: 84 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.734e-06/0.004852, allocations: 0 / 0.5567 GB, free: 84 kB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0002607/0.005113, allocations: 89.58 kB / 0.5568 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.005145, allocations: 55.53 kB / 0.5568 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.513e-05/0.00522, allocations: 105.8 kB / 0.5569 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.005234, allocations: 25.7 kB / 0.5569 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.027e-05/0.005275, allocations: 92.09 kB / 0.557 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.005293, allocations: 3.938 kB / 0.557 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.005319, allocations: 13.72 kB / 0.557 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002688/0.005588, allocations: 314.8 kB / 0.5573 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.911e-05/0.005637, allocations: 19.97 kB / 0.5574 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.425e-05/0.005681, allocations: 15.98 kB / 0.5574 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.098e-05/0.005762, allocations: 52.81 kB / 0.5574 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.005764, allocations: 0 / 0.5574 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001075/0.005872, allocations: 73.56 kB / 0.5575 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.005886, allocations: 8 kB / 0.5575 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.005891, allocations: 0 / 0.5575 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.005905, allocations: 3.984 kB / 0.5575 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.951e-05/0.005964, allocations: 8.031 kB / 0.5575 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.005971, allocations: 4 kB / 0.5575 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.178e-05/0.005993, allocations: 3.984 kB / 0.5575 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.005999, allocations: 11.92 kB / 0.5575 GB, free: 15.14 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.376e-05/0.006053, allocations: 105.8 kB / 0.5576 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.006067, allocations: 7.938 kB / 0.5576 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.006201, allocations: 81.2 kB / 0.5577 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.006203, allocations: 4.031 kB / 0.5577 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.006208, allocations: 0 / 0.5577 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.006211, allocations: 256 / 0.5577 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.00633, allocations: 132.7 kB / 0.5579 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.006333, allocations: 4 kB / 0.5579 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.665e-05/0.00636, allocations: 11.98 kB / 0.5579 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.006363, allocations: 3.938 kB / 0.5579 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.006369, allocations: 0 / 0.5579 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.006371, allocations: 0 / 0.5579 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.006372, allocations: 0 / 0.5579 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.006507, allocations: 171.5 kB / 0.558 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-06/0.006515, allocations: 7.938 kB / 0.558 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.769e-06/0.006524, allocations: 3.938 kB / 0.558 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.452e-05/0.006559, allocations: 7.984 kB / 0.5581 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.006592, allocations: 0 / 0.5581 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.006594, allocations: 0 / 0.5581 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.636e-05/0.006631, allocations: 95.2 kB / 0.5581 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.006631, allocations: 0 / 0.5581 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001521/0.006783, allocations: 4 kB / 0.5581 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.0003766/0.00716, allocations: 0.6968 MB / 0.5588 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001436/0.007303, allocations: 43.89 kB / 0.5589 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.007305, allocations: 0 / 0.5589 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.358e-05/0.007348, allocations: 20.08 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.0002373/0.007586, allocations: 10.72 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.0003831/0.007969, allocations: 150.4 kB / 0.559 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.992e-05/0.008029, allocations: 63.34 kB / 0.5591 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.922e-05/0.008048, allocations: 0 / 0.5591 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.269e-05/0.008081, allocations: 8.5 kB / 0.5591 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of SimCode: time 4.51e-07/0.008081, allocations: 4 kB / 0.5591 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01616/0.02424, allocations: 2.077 MB / 0.5611 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.87/6.894, allocations: 10.5 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.460079013369977] Failed to read output from testmodel.py, exit status != 0: 6.9759028954431415 6.988746616 6.983416797 Calling exit ...