Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.QuinticHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="BuildingSystems_BuildingSystems_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.001066/0.001066, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001129/0.001129, allocations: 194.5 kB / 16.26 MB, free: 6.633 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.148/1.148, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002125/0.002125, allocations: 288.2 kB / 290.3 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8484/0.8484, allocations: 169.2 MB / 0.4978 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 95.83 kB / 0.5948 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1308, allocations: 86.99 MB / 0.6797 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001657/0.1325, allocations: 0.6873 MB / 0.6804 GB, free: 256 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003367/0.1329, allocations: 195.3 kB / 0.6806 GB, free: 60 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.334e-05/0.1329, allocations: 3.938 kB / 0.6806 GB, free: 56 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.682e-05/0.133, allocations: 3.938 kB / 0.6806 GB, free: 52 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.1331, allocations: 8.547 kB / 0.6806 GB, free: 44 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.1333, allocations: 67.88 kB / 0.6807 GB, free: 15.97 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.728e-05/0.1333, allocations: 27.88 kB / 0.6807 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.125e-05/0.1334, allocations: 4 kB / 0.6807 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.547e-05/0.1334, allocations: 15.92 kB / 0.6807 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.482e-05/0.1335, allocations: 27.89 kB / 0.6808 GB, free: 15.9 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.1335, allocations: 0 / 0.6808 GB, free: 15.9 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.1336, allocations: 103.7 kB / 0.6809 GB, free: 15.8 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.1336, allocations: 7.984 kB / 0.6809 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.836e-05/0.1337, allocations: 19.86 kB / 0.6809 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.1338, allocations: 103.8 kB / 0.681 GB, free: 15.67 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1338, allocations: 8 kB / 0.681 GB, free: 15.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1338, allocations: 0 / 0.681 GB, free: 15.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.506e-06/0.1338, allocations: 0 / 0.681 GB, free: 15.66 MB / 494.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.0004389/0.1343, allocations: 367.7 kB / 0.6813 GB, free: 15.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.1343, allocations: 8.031 kB / 0.6813 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.947e-05/0.1344, allocations: 34.75 kB / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.41e-05/0.1344, allocations: 8.844 kB / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.1345, allocations: 168.3 kB / 0.6816 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.1345, allocations: 4.375 kB / 0.6816 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.1345, allocations: 4.375 kB / 0.6816 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.1347, allocations: 58.22 kB / 0.6816 GB, free: 14.92 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1347, allocations: 7.844 kB / 0.6816 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.1347, allocations: 0 / 0.6816 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1347, allocations: 0 / 0.6816 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.1348, allocations: 43.84 kB / 0.6817 GB, free: 14.87 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002457/0.1351, allocations: 248.9 kB / 0.6819 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.1353, allocations: 70.45 kB / 0.682 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.168e-05/0.1353, allocations: 24.94 kB / 0.682 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.1353, allocations: 0 / 0.682 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.1354, allocations: 42.5 kB / 0.682 GB, free: 14.42 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.1354, allocations: 0 / 0.682 GB, free: 14.42 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.02644/0.1618, allocations: 1.609 MB / 0.6836 GB, free: 12.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.1619, allocations: 55.41 kB / 0.6837 GB, free: 12.74 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.85e-05/0.162, allocations: 117.8 kB / 0.6838 GB, free: 12.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.716e-05/0.1621, allocations: 29.7 kB / 0.6838 GB, free: 12.58 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.98e-05/0.1621, allocations: 84.14 kB / 0.6839 GB, free: 12.49 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.673e-05/0.1622, allocations: 31.53 kB / 0.6839 GB, free: 12.46 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.1624, allocations: 29.7 kB / 0.6839 GB, free: 12.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.196e-05/0.1625, allocations: 314.8 kB / 0.6842 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004664/0.163, allocations: 143.9 kB / 0.6844 GB, free: 11.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004373/0.1634, allocations: 143.9 kB / 0.6845 GB, free: 11.83 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000892/0.1643, allocations: 296.7 kB / 0.6848 GB, free: 11.54 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1643, allocations: 4.562 kB / 0.6848 GB, free: 11.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001091/0.1654, allocations: 337.5 kB / 0.6851 GB, free: 11.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1655, allocations: 8 kB / 0.6851 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.1655, allocations: 0 / 0.6851 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.1655, allocations: 0 / 0.6851 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/0.167, allocations: 63.92 kB / 0.6852 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.167, allocations: 0 / 0.6852 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.1682, allocations: 51.94 kB / 0.6852 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.918e-05/0.1683, allocations: 4 kB / 0.6852 GB, free: 11.07 MB / 494.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.0001674/0.1684, allocations: 119.1 kB / 0.6854 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.192e-05/0.1685, allocations: 3.906 kB / 0.6854 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/0.1687, allocations: 20.38 kB / 0.6854 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1687, allocations: 0 / 0.6854 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1687, allocations: 0 / 0.6854 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1687, allocations: 3.984 kB / 0.6854 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005254/0.174, allocations: 0.8453 MB / 0.6862 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.174, allocations: 4 kB / 0.6862 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/0.175, allocations: 56 kB / 0.6863 GB, free: 9.953 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1751, allocations: 0 / 0.6863 GB, free: 9.953 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-05/0.1751, allocations: 7.938 kB / 0.6863 GB, free: 9.945 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1751, allocations: 0 / 0.6863 GB, free: 9.945 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1751, allocations: 0 / 0.6863 GB, free: 9.945 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008551/0.176, allocations: 325.1 kB / 0.6866 GB, free: 9.605 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-05/0.176, allocations: 85.02 kB / 0.6867 GB, free: 9.504 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.004e-05/0.1761, allocations: 7.922 kB / 0.6867 GB, free: 9.496 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009509/0.1771, allocations: 43.95 kB / 0.6867 GB, free: 9.453 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.444e-05/0.1771, allocations: 4 kB / 0.6867 GB, free: 9.449 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.206e-05/0.1771, allocations: 7.984 kB / 0.6867 GB, free: 9.441 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.166e-05/0.1772, allocations: 91.28 kB / 0.6868 GB, free: 9.352 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1772, allocations: 0 / 0.6868 GB, free: 9.352 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003686/0.1776, allocations: 95.98 kB / 0.6869 GB, free: 9.258 MB / 494.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.001163/0.1788, allocations: 0.8705 MB / 0.6878 GB, free: 8.355 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000887/0.1796, allocations: 259.7 kB / 0.688 GB, free: 8.102 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1797, allocations: 0 / 0.688 GB, free: 8.102 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003784/0.18, allocations: 99.95 kB / 0.6881 GB, free: 8.004 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.1803, allocations: 7.984 kB / 0.6881 GB, free: 7.996 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005922/0.1863, allocations: 2.679 MB / 0.6907 GB, free: 5.227 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.1865, allocations: 0.6885 MB / 0.6914 GB, free: 4.512 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004951/0.187, allocations: 55.98 kB / 0.6914 GB, free: 4.457 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004265/0.1874, allocations: 27.42 kB / 0.6915 GB, free: 4.43 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1874, allocations: 0 / 0.6915 GB, free: 4.43 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3596/0.5471, allocations: 9.704 MB / 0.7009 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/0.5473, allocations: 215.3 kB / 0.7012 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.043/2.59, allocations: 4 kB / 0.7012 GB, free: 10.59 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)