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.001854/0.001854, allocations: 119 kB / 19.69 MB, free: 2.199 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.002078/0.002078, allocations: 224.3 kB / 23.01 MB, free: 5.047 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.589/1.589, allocations: 230.6 MB / 256.8 MB, free: 8 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.9009/0.9009, allocations: 150 MB / 463.2 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",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.002003/0.002003, allocations: 70.52 kB / 0.6413 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1689, allocations: 89.17 MB / 0.7284 GB, free: 1.242 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.CubicHermite): time 0.001851/0.1708, allocations: 0.6091 MB / 0.729 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002184/0.1729, allocations: 1.455 MB / 0.7304 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.77e-05/0.173, allocations: 3.938 kB / 0.7304 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.146e-05/0.173, allocations: 7.984 kB / 0.7304 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.259e-05/0.1731, allocations: 3.938 kB / 0.7304 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006594/0.1737, allocations: 185.4 kB / 0.7306 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.1738, allocations: 47.89 kB / 0.7306 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.182e-05/0.1739, allocations: 0 / 0.7306 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.476e-05/0.1739, allocations: 23.92 kB / 0.7307 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.933e-05/0.174, allocations: 27.97 kB / 0.7307 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.174, allocations: 7.984 kB / 0.7307 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004006/0.1744, allocations: 223.7 kB / 0.7309 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.94e-05/0.1744, allocations: 11.94 kB / 0.7309 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.407e-05/0.1745, allocations: 31.78 kB / 0.731 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003269/0.1748, allocations: 187.8 kB / 0.7311 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1748, allocations: 0 / 0.7311 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1748, allocations: 0 / 0.7311 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.1748, allocations: 0 / 0.7311 GB, free: 14.42 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.0004955/0.1753, allocations: 369.2 kB / 0.7315 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.1754, allocations: 12.03 kB / 0.7315 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.838e-05/0.1754, allocations: 38.75 kB / 0.7315 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.1754, allocations: 8.891 kB / 0.7315 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.1756, allocations: 114.4 kB / 0.7317 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.1756, allocations: 384 / 0.7317 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.1756, allocations: 8.359 kB / 0.7317 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.1758, allocations: 97.77 kB / 0.7318 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.1758, allocations: 0 / 0.7318 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.1758, allocations: 0 / 0.7318 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1758, allocations: 0 / 0.7318 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.581e-05/0.1759, allocations: 63.95 kB / 0.7318 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001827/0.1761, allocations: 148.7 kB / 0.732 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.1762, allocations: 78.47 kB / 0.732 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.1763, allocations: 72.88 kB / 0.7321 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.819e-06/0.1763, allocations: 0 / 0.7321 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.1763, allocations: 38.5 kB / 0.7321 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.1763, allocations: 0 / 0.7321 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0004432/0.1768, allocations: 255.2 kB / 0.7324 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.1768, allocations: 77.11 kB / 0.7325 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.177, allocations: 152.3 kB / 0.7326 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.177, allocations: 25.7 kB / 0.7326 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.872e-05/0.1771, allocations: 88.14 kB / 0.7327 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.1771, allocations: 19.89 kB / 0.7327 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-05/0.1772, allocations: 25.72 kB / 0.7328 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.1773, allocations: 314.9 kB / 0.7331 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.1775, allocations: 107.9 kB / 0.7332 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.1776, allocations: 111.9 kB / 0.7333 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003114/0.1779, allocations: 281.8 kB / 0.7335 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1779, allocations: 0 / 0.7335 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003937/0.1783, allocations: 317.6 kB / 0.7338 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.125e-05/0.1784, allocations: 71.39 kB / 0.7339 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1784, allocations: 3.938 kB / 0.7339 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1784, allocations: 3.938 kB / 0.7339 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.106e-06/0.1784, allocations: 4 kB / 0.7339 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.1784, allocations: 4.062 kB / 0.7339 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.1786, allocations: 15.88 kB / 0.7339 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.1786, allocations: 4 kB / 0.7339 GB, free: 11.29 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.0001327/0.1787, allocations: 149.5 kB / 0.7341 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.1787, allocations: 11.89 kB / 0.7341 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.884e-05/0.1788, allocations: 8.344 kB / 0.7341 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1788, allocations: 0 / 0.7341 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1788, allocations: 0 / 0.7341 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1788, allocations: 4 kB / 0.7341 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.1789, allocations: 144.8 kB / 0.7342 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1789, allocations: 7.938 kB / 0.7342 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.1789, allocations: 0 / 0.7342 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.1789, allocations: 3.984 kB / 0.7343 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.128e-06/0.1789, allocations: 0 / 0.7343 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1789, allocations: 0 / 0.7343 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.1789, allocations: 7.984 kB / 0.7343 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/0.1792, allocations: 226.6 kB / 0.7345 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.715e-05/0.1792, allocations: 19.86 kB / 0.7345 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.1792, allocations: 3.984 kB / 0.7345 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.795e-05/0.1793, allocations: 4 kB / 0.7345 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/0.1793, allocations: 7.984 kB / 0.7345 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.1793, allocations: 8 kB / 0.7345 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.364e-05/0.1794, allocations: 101.3 kB / 0.7346 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1794, allocations: 0 / 0.7346 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002813/0.1797, allocations: 67.92 kB / 0.7347 GB, free: 10.45 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.0007333/0.1804, allocations: 0.8053 MB / 0.7355 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003767/0.1808, allocations: 334.6 kB / 0.7358 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1808, allocations: 0 / 0.7358 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.1809, allocations: 123.3 kB / 0.7359 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001585/0.1811, allocations: 14 kB / 0.7359 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/0.1833, allocations: 2.145 MB / 0.738 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.1836, allocations: 0.7002 MB / 0.7387 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.151e-06/0.1837, allocations: 0 / 0.7387 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/0.1837, allocations: 15.44 kB / 0.7387 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.1837, allocations: 0 / 0.7387 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8255/1.009, allocations: 3.428 MB / 0.7421 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.65, allocations: 4.359 kB / 0.7421 GB, free: 2.848 MB / 0.5606 GB " [Timeout remaining time 647] (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 sys.exit(0), Time elapsed: 16.45494302501902] Failed to read output from testmodel.py, exit status != 0: 12.754694464150816 12.784228337 12.604107185 Calling exit ...