Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.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.00141/0.00141, allocations: 109 kB / 20.48 MB, free: 1.473 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.001527/0.001527, allocations: 204.6 kB / 23.78 MB, free: 4.688 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.494/1.494, allocations: 230.6 MB / 257.6 MB, free: 7.988 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 0.9989/0.9989, allocations: 150 MB / 464 MB, free: 10.49 MB / 366.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.Functions.Examples.CubicHermite,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite",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.002032/0.002032, allocations: 70.03 kB / 0.6421 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1708, allocations: 89.18 MB / 0.7292 GB, free: 1.227 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.CubicHermite): time 0.001655/0.1725, allocations: 0.6167 MB / 0.7298 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001895/0.1744, allocations: 1.455 MB / 0.7312 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.55e-05/0.1744, allocations: 0 / 0.7312 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.73e-05/0.1745, allocations: 0 / 0.7312 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.785e-05/0.1745, allocations: 7.922 kB / 0.7312 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006307/0.1751, allocations: 175.6 kB / 0.7314 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.1752, allocations: 55.88 kB / 0.7314 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.188e-05/0.1753, allocations: 0 / 0.7314 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.601e-05/0.1753, allocations: 19.92 kB / 0.7314 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.557e-05/0.1754, allocations: 23.97 kB / 0.7315 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.1754, allocations: 4 kB / 0.7315 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003934/0.1758, allocations: 227.7 kB / 0.7317 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.943e-05/0.1758, allocations: 15.94 kB / 0.7317 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.361e-05/0.1759, allocations: 27.8 kB / 0.7317 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002691/0.1761, allocations: 187.8 kB / 0.7319 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.1761, allocations: 7.938 kB / 0.7319 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1761, allocations: 3.938 kB / 0.7319 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.1761, allocations: 0 / 0.7319 GB, free: 14.4 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004152/0.1766, allocations: 369.2 kB / 0.7323 GB, free: 14 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.1766, allocations: 8.031 kB / 0.7323 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.556e-05/0.1766, allocations: 192 / 0.7323 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.475e-05/0.1766, allocations: 34.75 kB / 0.7323 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.1767, allocations: 8.891 kB / 0.7323 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.1768, allocations: 116.8 kB / 0.7324 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.1768, allocations: 4.375 kB / 0.7324 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.1768, allocations: 4.375 kB / 0.7324 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.177, allocations: 105.6 kB / 0.7325 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.177, allocations: 0 / 0.7325 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.177, allocations: 0 / 0.7325 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.177, allocations: 0 / 0.7325 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.876e-05/0.1771, allocations: 59.95 kB / 0.7326 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/0.1773, allocations: 148.7 kB / 0.7327 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.1774, allocations: 82.47 kB / 0.7328 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.1776, allocations: 68.88 kB / 0.7329 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.1776, allocations: 11.92 kB / 0.7329 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.1776, allocations: 30.56 kB / 0.7329 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1776, allocations: 0 / 0.7329 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0004078/0.178, allocations: 251.2 kB / 0.7332 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.1781, allocations: 77.11 kB / 0.7332 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.1782, allocations: 153.7 kB / 0.7334 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.1783, allocations: 33.7 kB / 0.7334 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.971e-05/0.1783, allocations: 84.14 kB / 0.7335 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.1783, allocations: 15.89 kB / 0.7335 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.134e-05/0.1784, allocations: 25.72 kB / 0.7335 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1785, allocations: 318.8 kB / 0.7338 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.1787, allocations: 99.94 kB / 0.7339 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.1788, allocations: 111.9 kB / 0.734 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002966/0.1791, allocations: 277.2 kB / 0.7343 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1791, allocations: 0 / 0.7343 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003906/0.1795, allocations: 324.8 kB / 0.7346 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.277e-05/0.1795, allocations: 71.39 kB / 0.7347 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.1795, allocations: 0 / 0.7347 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1796, allocations: 7.938 kB / 0.7347 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-07/0.1796, allocations: 0 / 0.7347 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.1796, allocations: 0 / 0.7347 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.1797, allocations: 15.88 kB / 0.7347 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.1797, allocations: 4 kB / 0.7347 GB, free: 11.28 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0001344/0.1799, allocations: 159.5 kB / 0.7349 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.118e-05/0.1799, allocations: 11.89 kB / 0.7349 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.558e-05/0.1799, allocations: 4.344 kB / 0.7349 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.1799, allocations: 0 / 0.7349 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1799, allocations: 4 kB / 0.7349 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.1799, allocations: 0 / 0.7349 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.18, allocations: 148.7 kB / 0.735 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.18, allocations: 0 / 0.735 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.454e-06/0.18, allocations: 4 kB / 0.735 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.18, allocations: 0 / 0.735 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.1801, allocations: 4 kB / 0.735 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1801, allocations: 4 kB / 0.735 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1801, allocations: 0 / 0.735 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.1804, allocations: 230.6 kB / 0.7352 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.62e-05/0.1804, allocations: 11.89 kB / 0.7353 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.1804, allocations: 3.984 kB / 0.7353 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.243e-05/0.1805, allocations: 8 kB / 0.7353 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.1805, allocations: 12.02 kB / 0.7353 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.1805, allocations: 4 kB / 0.7353 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.588e-05/0.1806, allocations: 105 kB / 0.7354 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1806, allocations: 0 / 0.7354 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003112/0.1809, allocations: 63.92 kB / 0.7354 GB, free: 10.43 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0008073/0.1817, allocations: 0.8092 MB / 0.7362 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000437/0.1821, allocations: 338.5 kB / 0.7366 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1821, allocations: 0 / 0.7366 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.1823, allocations: 127.3 kB / 0.7367 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.1824, allocations: 3.938 kB / 0.7367 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/0.1848, allocations: 2.143 MB / 0.7388 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.1852, allocations: 0.6885 MB / 0.7394 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.302e-06/0.1852, allocations: 0 / 0.7394 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.292e-05/0.1852, allocations: 15.44 kB / 0.7395 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of SimCode: time 9.22e-07/0.1852, allocations: 32 / 0.7395 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.2106, allocations: 3.474 MB / 0.7429 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.67, allocations: 6.688 kB / 0.7429 GB, free: 2.809 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.513869197980966] Failed to read output from testmodel.py, exit status != 0: 11.83849001803901 11.866782329 11.685049293 Calling exit ...