Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite",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.008221/0.008221, allocations: 96.62 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002004/0.002004, allocations: 193.7 kB / 16.67 MB, free: 5.969 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.515/1.515, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002721/0.002721, allocations: 294.5 kB / 290.8 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.035/1.035, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002982/0.002982, allocations: 99.98 kB / 0.681 GB, free: 15.92 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1735, allocations: 86.97 MB / 0.766 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.001727/0.1752, allocations: 0.615 MB / 0.7666 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00192/0.1772, allocations: 1.373 MB / 0.7679 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.884e-05/0.1772, allocations: 0 / 0.7679 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.661e-05/0.1773, allocations: 7.938 kB / 0.7679 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.44e-05/0.1773, allocations: 0 / 0.7679 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006778/0.178, allocations: 179.6 kB / 0.7681 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.1781, allocations: 51.84 kB / 0.7681 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.37e-05/0.1782, allocations: 3.984 kB / 0.7681 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.499e-05/0.1782, allocations: 19.98 kB / 0.7682 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.702e-05/0.1783, allocations: 23.92 kB / 0.7682 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.1783, allocations: 7.984 kB / 0.7682 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003521/0.1787, allocations: 199.7 kB / 0.7684 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.138e-05/0.1787, allocations: 19.92 kB / 0.7684 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.428e-05/0.1788, allocations: 19.88 kB / 0.7684 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000287/0.1791, allocations: 191.7 kB / 0.7686 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1791, allocations: 3.938 kB / 0.7686 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1791, allocations: 0 / 0.7686 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.1791, allocations: 0 / 0.7686 GB, free: 6.152 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.0004745/0.1796, allocations: 450.2 kB / 0.769 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.1796, allocations: 12.03 kB / 0.769 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.717e-05/0.1797, allocations: 34.75 kB / 0.7691 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.1797, allocations: 8.922 kB / 0.7691 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.1799, allocations: 178.4 kB / 0.7693 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.1799, allocations: 384 / 0.7693 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.1799, allocations: 4.375 kB / 0.7693 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.1801, allocations: 97.77 kB / 0.7694 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.1801, allocations: 0 / 0.7694 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1801, allocations: 0 / 0.7694 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1801, allocations: 0 / 0.7694 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.397e-05/0.1802, allocations: 67.83 kB / 0.7694 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.1804, allocations: 181.6 kB / 0.7696 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.1806, allocations: 90.53 kB / 0.7697 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.163e-05/0.1807, allocations: 64.89 kB / 0.7697 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.1807, allocations: 0 / 0.7697 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.1807, allocations: 34.5 kB / 0.7698 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.1807, allocations: 0 / 0.7698 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0004092/0.1811, allocations: 259.1 kB / 0.77 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.331e-05/0.1812, allocations: 85.11 kB / 0.7701 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.1814, allocations: 145.8 kB / 0.7702 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.1814, allocations: 25.7 kB / 0.7703 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.667e-05/0.1814, allocations: 88.14 kB / 0.7703 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.1815, allocations: 7.906 kB / 0.7704 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.241e-05/0.1815, allocations: 29.7 kB / 0.7704 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1817, allocations: 322.8 kB / 0.7707 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.1818, allocations: 99.94 kB / 0.7708 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.182, allocations: 99.94 kB / 0.7709 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002975/0.1823, allocations: 281.9 kB / 0.7711 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1823, allocations: 0 / 0.7711 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003833/0.1827, allocations: 328.7 kB / 0.7715 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.557e-05/0.1827, allocations: 74.19 kB / 0.7715 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1827, allocations: 0 / 0.7715 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.1828, allocations: 0 / 0.7715 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.1828, allocations: 0 / 0.7715 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.1828, allocations: 0 / 0.7715 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.1829, allocations: 15.89 kB / 0.7715 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.183, allocations: 4 kB / 0.7716 GB, free: 2.832 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.000124/0.1831, allocations: 156.2 kB / 0.7717 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.1831, allocations: 15.83 kB / 0.7717 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.594e-05/0.1831, allocations: 8.234 kB / 0.7717 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1832, allocations: 0 / 0.7717 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1832, allocations: 0 / 0.7717 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1832, allocations: 0 / 0.7717 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.1833, allocations: 173.6 kB / 0.7719 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1833, allocations: 3.938 kB / 0.7719 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.77e-06/0.1833, allocations: 4 kB / 0.7719 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1833, allocations: 8.078 kB / 0.7719 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.1834, allocations: 4 kB / 0.7719 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1834, allocations: 0 / 0.7719 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.1834, allocations: 3.984 kB / 0.7719 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000303/0.1837, allocations: 230.6 kB / 0.7721 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.373e-05/0.1838, allocations: 88.94 kB / 0.7722 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.1838, allocations: 4 kB / 0.7722 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.898e-05/0.1838, allocations: 8 kB / 0.7722 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.974e-05/0.1839, allocations: 12.02 kB / 0.7722 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.1839, allocations: 0 / 0.7722 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.681e-05/0.184, allocations: 111.2 kB / 0.7723 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/0.184, allocations: 0 / 0.7723 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000386/0.1844, allocations: 63.92 kB / 0.7724 GB, free: 1.844 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.0007765/0.1852, allocations: 0.8136 MB / 0.7732 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004378/0.1857, allocations: 374.6 kB / 0.7736 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1857, allocations: 0 / 0.7736 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.1858, allocations: 131.4 kB / 0.7737 GB, free: 476 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.186, allocations: 14.62 kB / 0.7737 GB, free: 464 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2861/0.4721, allocations: 2.123 MB / 0.7758 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.4723, allocations: 0.6913 MB / 0.7764 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.494e-06/0.4723, allocations: 0 / 0.7764 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/0.4723, allocations: 20.05 kB / 0.7765 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of SimCode: time 9.71e-07/0.4723, allocations: 1.688 kB / 0.7765 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/0.4959, allocations: 3.312 MB / 0.7797 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.806/8.301, allocations: 9.625 kB / 0.7797 GB, free: 12.83 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)