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.001133/0.001133, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001881/0.001881, allocations: 192.4 kB / 16.14 MB, free: 6.707 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.152/1.152, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001889/0.001889, allocations: 294.9 kB / 290.2 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.817/0.817, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 95.19 kB / 0.5946 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.118, allocations: 86.98 MB / 0.6796 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001402/0.1194, allocations: 0.6871 MB / 0.6802 GB, free: 408 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003424/0.1197, allocations: 208.9 kB / 0.6804 GB, free: 200 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.56e-05/0.1198, allocations: 0 / 0.6804 GB, free: 200 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.439e-05/0.1198, allocations: 0 / 0.6804 GB, free: 200 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.1199, allocations: 7.938 kB / 0.6804 GB, free: 192 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001197/0.1201, allocations: 57.17 kB / 0.6805 GB, free: 136 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.54e-05/0.1201, allocations: 31.91 kB / 0.6805 GB, free: 104 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.311e-05/0.1202, allocations: 2.219 kB / 0.6805 GB, free: 104 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.908e-05/0.1202, allocations: 19.92 kB / 0.6805 GB, free: 84 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.806e-05/0.1202, allocations: 19.91 kB / 0.6806 GB, free: 64 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.1203, allocations: 4 kB / 0.6806 GB, free: 60 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.1204, allocations: 111.7 kB / 0.6807 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.191e-05/0.1204, allocations: 7.938 kB / 0.6807 GB, free: 15.94 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.1205, allocations: 22.22 kB / 0.6807 GB, free: 15.92 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.1206, allocations: 103.8 kB / 0.6808 GB, free: 15.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1206, allocations: 0 / 0.6808 GB, free: 15.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.1206, allocations: 0 / 0.6808 GB, free: 15.82 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.695e-06/0.1206, allocations: 0 / 0.6808 GB, free: 15.82 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.0003942/0.121, allocations: 364.5 kB / 0.6811 GB, free: 15.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.1211, allocations: 8.906 kB / 0.6811 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.813e-05/0.1211, allocations: 34.75 kB / 0.6812 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.225e-05/0.1211, allocations: 5.438 kB / 0.6812 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.1212, allocations: 176.3 kB / 0.6814 GB, free: 15.15 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.1212, allocations: 16.72 kB / 0.6814 GB, free: 15.13 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.1213, allocations: 5.578 kB / 0.6814 GB, free: 15.13 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.1214, allocations: 54.23 kB / 0.6814 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.1214, allocations: 8.688 kB / 0.6814 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.742e-06/0.1214, allocations: 0 / 0.6814 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.1214, allocations: 4 kB / 0.6814 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.1215, allocations: 31.97 kB / 0.6815 GB, free: 15.03 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002063/0.1217, allocations: 249 kB / 0.6817 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.1219, allocations: 70.41 kB / 0.6818 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.854e-05/0.122, allocations: 28.94 kB / 0.6818 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.122, allocations: 0 / 0.6818 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.122, allocations: 30.56 kB / 0.6818 GB, free: 14.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 7.12e-07/0.122, allocations: 0 / 0.6818 GB, free: 14.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.02564/0.1477, allocations: 1.613 MB / 0.6834 GB, free: 12.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/0.1477, allocations: 55.41 kB / 0.6835 GB, free: 12.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.022e-05/0.1478, allocations: 113.8 kB / 0.6836 GB, free: 12.78 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.445e-05/0.1478, allocations: 25.7 kB / 0.6836 GB, free: 12.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.571e-05/0.1479, allocations: 92.12 kB / 0.6837 GB, free: 12.65 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.128e-05/0.148, allocations: 31.55 kB / 0.6837 GB, free: 12.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/0.1481, allocations: 21.7 kB / 0.6837 GB, free: 12.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.232e-05/0.1482, allocations: 326.8 kB / 0.684 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000435/0.1487, allocations: 143.9 kB / 0.6842 GB, free: 12.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004256/0.1491, allocations: 143.9 kB / 0.6843 GB, free: 11.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008627/0.15, allocations: 301.3 kB / 0.6846 GB, free: 11.69 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.15, allocations: 0 / 0.6846 GB, free: 11.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001051/0.151, allocations: 333.5 kB / 0.6849 GB, free: 11.36 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.151, allocations: 4 kB / 0.6849 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1511, allocations: 4.078 kB / 0.6849 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.1511, allocations: 4 kB / 0.6849 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.1524, allocations: 59.94 kB / 0.685 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1525, allocations: 3.984 kB / 0.685 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.1536, allocations: 47.94 kB / 0.685 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.647e-05/0.1537, allocations: 4 kB / 0.685 GB, free: 11.23 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.0001451/0.1539, allocations: 119 kB / 0.6852 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.186e-05/0.1539, allocations: 7.906 kB / 0.6852 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.1541, allocations: 24.3 kB / 0.6852 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.1541, allocations: 8 kB / 0.6852 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.1541, allocations: 0 / 0.6852 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.1541, allocations: 0 / 0.6852 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004936/0.159, allocations: 0.8376 MB / 0.686 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.159, allocations: 0 / 0.686 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000949/0.16, allocations: 59.88 kB / 0.6861 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.16, allocations: 4 kB / 0.6861 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.265e-05/0.16, allocations: 3.938 kB / 0.6861 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1601, allocations: 0 / 0.6861 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1601, allocations: 4.422 kB / 0.6861 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008139/0.1609, allocations: 321.2 kB / 0.6864 GB, free: 9.762 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.041e-05/0.1609, allocations: 85 kB / 0.6865 GB, free: 9.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.712e-05/0.161, allocations: 11.94 kB / 0.6865 GB, free: 9.648 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009087/0.1619, allocations: 35.95 kB / 0.6865 GB, free: 9.613 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.731e-05/0.1619, allocations: 15.91 kB / 0.6865 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.043e-05/0.162, allocations: 8 kB / 0.6865 GB, free: 9.59 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.371e-05/0.162, allocations: 95.3 kB / 0.6866 GB, free: 9.496 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.162, allocations: 0 / 0.6866 GB, free: 9.496 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003406/0.1624, allocations: 92 kB / 0.6867 GB, free: 9.406 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.001075/0.1635, allocations: 0.8779 MB / 0.6876 GB, free: 8.496 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008444/0.1643, allocations: 235.9 kB / 0.6878 GB, free: 8.266 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1643, allocations: 4 kB / 0.6878 GB, free: 8.262 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003691/0.1647, allocations: 95.88 kB / 0.6879 GB, free: 8.168 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.165, allocations: 12.12 kB / 0.6879 GB, free: 8.156 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005551/0.1705, allocations: 2.688 MB / 0.6905 GB, free: 5.383 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001683/0.1707, allocations: 0.6887 MB / 0.6912 GB, free: 4.668 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004741/0.1712, allocations: 51.94 kB / 0.6913 GB, free: 4.617 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004475/0.1716, allocations: 23.42 kB / 0.6913 GB, free: 4.594 MB / 494.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1716, allocations: 0 / 0.6913 GB, free: 4.594 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.65/2.821, allocations: 9.225 MB / 0.7003 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002229/2.822, allocations: 218.4 kB / 0.7005 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.201/5.023, allocations: 4 kB / 0.7005 GB, free: 11.2 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)