Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 104.1 kB / 15.88 MB, free: 4 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 197.8 kB / 16.79 MB, free: 6.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 222.9 MB / 240.5 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6577/0.6577, allocations: 115.3 MB / 405.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 64.06 kB / 493 MB, free: 6.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1288, allocations: 76.19 MB / 0.5559 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001577/0.1304, allocations: 0.6886 MB / 0.5565 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003797/0.1308, allocations: 199.2 kB / 0.5567 GB, free: 9.832 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.783e-05/0.1308, allocations: 0 / 0.5567 GB, free: 9.832 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.258e-05/0.1309, allocations: 0 / 0.5567 GB, free: 9.832 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.131, allocations: 11.94 kB / 0.5567 GB, free: 9.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001386/0.1311, allocations: 63.89 kB / 0.5568 GB, free: 9.758 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.498e-05/0.1312, allocations: 31.84 kB / 0.5568 GB, free: 9.727 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.452e-05/0.1312, allocations: 4 kB / 0.5568 GB, free: 9.723 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.889e-05/0.1313, allocations: 19.91 kB / 0.5568 GB, free: 9.703 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.866e-05/0.1313, allocations: 19.92 kB / 0.5569 GB, free: 9.684 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.1313, allocations: 4 kB / 0.5569 GB, free: 9.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.1315, allocations: 107.7 kB / 0.557 GB, free: 9.574 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.1315, allocations: 3.984 kB / 0.557 GB, free: 9.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.33e-05/0.1315, allocations: 23.8 kB / 0.557 GB, free: 9.547 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.1317, allocations: 103.8 kB / 0.5571 GB, free: 9.445 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1317, allocations: 0 / 0.5571 GB, free: 9.445 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.1317, allocations: 4 kB / 0.5571 GB, free: 9.441 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.865e-06/0.1317, allocations: 0 / 0.5571 GB, free: 9.441 MB / 430.1 MB 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.0004372/0.1322, allocations: 367.7 kB / 0.5574 GB, free: 9.031 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.1322, allocations: 8.031 kB / 0.5575 GB, free: 9.023 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.56e-05/0.1322, allocations: 30.75 kB / 0.5575 GB, free: 8.984 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.486e-05/0.1322, allocations: 8.844 kB / 0.5575 GB, free: 8.977 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.1324, allocations: 176.2 kB / 0.5577 GB, free: 8.766 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.724e-06/0.1324, allocations: 8.312 kB / 0.5577 GB, free: 8.758 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.1324, allocations: 12.36 kB / 0.5577 GB, free: 8.746 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.1325, allocations: 54.23 kB / 0.5577 GB, free: 8.688 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1326, allocations: 3.938 kB / 0.5577 GB, free: 8.684 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.1326, allocations: 4 kB / 0.5577 GB, free: 8.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1326, allocations: 0 / 0.5577 GB, free: 8.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.1327, allocations: 35.95 kB / 0.5578 GB, free: 8.645 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002363/0.1329, allocations: 245 kB / 0.558 GB, free: 8.355 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.1331, allocations: 70.41 kB / 0.5581 GB, free: 8.277 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.275e-05/0.1332, allocations: 24.94 kB / 0.5581 GB, free: 8.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.1332, allocations: 4 kB / 0.5581 GB, free: 8.246 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.1333, allocations: 34.56 kB / 0.5581 GB, free: 8.203 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.1333, allocations: 0 / 0.5581 GB, free: 8.203 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.03029/0.1636, allocations: 1.616 MB / 0.5597 GB, free: 6.578 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.1636, allocations: 51.41 kB / 0.5598 GB, free: 6.516 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.71e-05/0.1637, allocations: 125.7 kB / 0.5599 GB, free: 6.383 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.495e-05/0.1638, allocations: 29.7 kB / 0.5599 GB, free: 6.348 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.238e-05/0.1639, allocations: 88.12 kB / 0.56 GB, free: 6.258 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.369e-05/0.164, allocations: 27.56 kB / 0.56 GB, free: 6.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.1642, allocations: 25.7 kB / 0.56 GB, free: 6.199 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.892e-05/0.1643, allocations: 326.8 kB / 0.5604 GB, free: 5.871 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005103/0.1648, allocations: 135.9 kB / 0.5605 GB, free: 5.738 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005027/0.1653, allocations: 143.9 kB / 0.5606 GB, free: 5.598 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.1663, allocations: 301.3 kB / 0.5609 GB, free: 5.301 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1663, allocations: 0 / 0.5609 GB, free: 5.301 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001222/0.1676, allocations: 341.4 kB / 0.5612 GB, free: 4.961 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1676, allocations: 4 kB / 0.5612 GB, free: 4.957 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1676, allocations: 0 / 0.5612 GB, free: 4.957 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.1676, allocations: 0 / 0.5612 GB, free: 4.957 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/0.1693, allocations: 63.88 kB / 0.5613 GB, free: 4.895 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.1693, allocations: 0 / 0.5613 GB, free: 4.895 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/0.1707, allocations: 51.94 kB / 0.5614 GB, free: 4.844 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.178e-05/0.1708, allocations: 0 / 0.5614 GB, free: 4.844 MB / 430.1 MB 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 (9): * Single equations (assignments): 9 * 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.0001747/0.171, allocations: 117.8 kB / 0.5615 GB, free: 4.719 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.112e-05/0.1711, allocations: 4 kB / 0.5615 GB, free: 4.715 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001466/0.1712, allocations: 20.36 kB / 0.5615 GB, free: 4.695 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1712, allocations: 0 / 0.5615 GB, free: 4.695 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1712, allocations: 4 kB / 0.5615 GB, free: 4.691 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1712, allocations: 0 / 0.5615 GB, free: 4.691 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005777/0.177, allocations: 0.8413 MB / 0.5623 GB, free: 3.785 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.177, allocations: 0 / 0.5623 GB, free: 3.785 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/0.1782, allocations: 59.94 kB / 0.5624 GB, free: 3.727 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1782, allocations: 0 / 0.5624 GB, free: 3.727 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.386e-05/0.1783, allocations: 11.94 kB / 0.5624 GB, free: 3.715 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.1783, allocations: 8.047 kB / 0.5624 GB, free: 3.707 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1783, allocations: 432 / 0.5624 GB, free: 3.707 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009494/0.1793, allocations: 317.1 kB / 0.5627 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.1793, allocations: 89.05 kB / 0.5628 GB, free: 3.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.461e-05/0.1794, allocations: 7.875 kB / 0.5628 GB, free: 3.262 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.1804, allocations: 39.95 kB / 0.5628 GB, free: 3.223 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.635e-05/0.1805, allocations: 11.97 kB / 0.5628 GB, free: 3.211 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.282e-05/0.1805, allocations: 0 / 0.5628 GB, free: 3.211 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.526e-05/0.1806, allocations: 107.3 kB / 0.5629 GB, free: 3.105 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1806, allocations: 0 / 0.5629 GB, free: 3.105 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004005/0.181, allocations: 92 kB / 0.563 GB, free: 3.016 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.001336/0.1823, allocations: 0.874 MB / 0.5639 GB, free: 2.109 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009839/0.1833, allocations: 239.9 kB / 0.5641 GB, free: 1.875 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1833, allocations: 0 / 0.5641 GB, free: 1.875 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000415/0.1838, allocations: 95.88 kB / 0.5642 GB, free: 1.781 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.1841, allocations: 8 kB / 0.5642 GB, free: 1.773 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006452/0.1905, allocations: 2.68 MB / 0.5668 GB, free: 15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.1908, allocations: 0.6848 MB / 0.5675 GB, free: 14.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005272/0.1914, allocations: 52 kB / 0.5675 GB, free: 14.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004884/0.1919, allocations: 23.42 kB / 0.5676 GB, free: 14.22 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1919, allocations: 0 / 0.5676 GB, free: 14.22 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.318/0.5099, allocations: 9.214 MB / 0.5766 GB, free: 5.086 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002524/0.5102, allocations: 203.6 kB / 0.5768 GB, free: 4.836 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.225/2.735, allocations: 4.062 kB / 0.5768 GB, free: 4.832 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_QuinticHermite.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)