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.0009308/0.0009308, 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.0009089/0.0009089, allocations: 195.3 kB / 16.14 MB, free: 6.715 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.203/1.203, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001928/0.001928, allocations: 280 kB / 290.2 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8783/0.8783, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 91.23 kB / 0.5946 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1279, allocations: 86.98 MB / 0.6796 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.001911/0.1299, allocations: 0.6748 MB / 0.6802 GB, free: 436 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.1318, allocations: 1.416 MB / 0.6816 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2e-05/0.1318, allocations: 2.062 kB / 0.6816 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.693e-05/0.1319, allocations: 3.938 kB / 0.6816 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.575e-05/0.1319, allocations: 3.984 kB / 0.6816 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004879/0.1324, allocations: 139.2 kB / 0.6817 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.267e-05/0.1325, allocations: 37.62 kB / 0.6818 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.129e-05/0.1325, allocations: 7.922 kB / 0.6818 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.149e-05/0.1326, allocations: 23.92 kB / 0.6818 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.152e-05/0.1326, allocations: 23.92 kB / 0.6818 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.1327, allocations: 8.641 kB / 0.6818 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002647/0.1329, allocations: 191.7 kB / 0.682 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.012e-05/0.133, allocations: 8.703 kB / 0.682 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.619e-05/0.133, allocations: 27.8 kB / 0.6821 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.1332, allocations: 180.8 kB / 0.6822 GB, free: 14.36 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1333, allocations: 0 / 0.6822 GB, free: 14.36 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1333, allocations: 0.625 kB / 0.6822 GB, free: 14.36 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.1333, allocations: 3.938 kB / 0.6822 GB, free: 14.35 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003709/0.1337, allocations: 444 kB / 0.6827 GB, free: 13.86 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.1337, allocations: 8.031 kB / 0.6827 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.216e-05/0.1337, allocations: 35.53 kB / 0.6827 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.1338, allocations: 12.84 kB / 0.6827 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.1339, allocations: 184.2 kB / 0.6829 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.1339, allocations: 384 / 0.6829 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.1339, allocations: 4.375 kB / 0.6829 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.1341, allocations: 97.77 kB / 0.683 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.1341, allocations: 0 / 0.683 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.639e-06/0.1341, allocations: 0 / 0.683 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1341, allocations: 3.984 kB / 0.683 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.592e-05/0.1342, allocations: 59.95 kB / 0.683 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000132/0.1343, allocations: 173.6 kB / 0.6832 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.953e-05/0.1344, allocations: 90.45 kB / 0.6833 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.594e-05/0.1345, allocations: 68.89 kB / 0.6834 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.697e-06/0.1345, allocations: 0 / 0.6834 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.1346, allocations: 38.48 kB / 0.6834 GB, free: 12.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.1346, allocations: 0 / 0.6834 GB, free: 12.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003302/0.1349, allocations: 251.2 kB / 0.6836 GB, free: 12.72 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.1349, allocations: 81.11 kB / 0.6837 GB, free: 12.62 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.1351, allocations: 152.2 kB / 0.6839 GB, free: 12.46 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.1351, allocations: 25.7 kB / 0.6839 GB, free: 12.43 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.884e-05/0.1351, allocations: 92.14 kB / 0.684 GB, free: 12.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.1351, allocations: 15.73 kB / 0.684 GB, free: 12.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.1352, allocations: 25.72 kB / 0.684 GB, free: 12.29 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.927e-05/0.1353, allocations: 322.8 kB / 0.6843 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.1354, allocations: 99.94 kB / 0.6844 GB, free: 11.87 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.1355, allocations: 103.9 kB / 0.6845 GB, free: 11.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.1357, allocations: 277.8 kB / 0.6848 GB, free: 11.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1357, allocations: 0 / 0.6848 GB, free: 11.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002912/0.136, allocations: 324.8 kB / 0.6851 GB, free: 11.14 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.662e-05/0.1361, allocations: 75.33 kB / 0.6852 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1361, allocations: 0 / 0.6852 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.1361, allocations: 0 / 0.6852 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.1361, allocations: 0 / 0.6852 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.1361, allocations: 3.938 kB / 0.6852 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.1363, allocations: 15.84 kB / 0.6852 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.1363, allocations: 7.984 kB / 0.6852 GB, free: 11.03 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: 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 8.811e-05/0.1364, allocations: 152.9 kB / 0.6853 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/0.1364, allocations: 11.84 kB / 0.6853 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.293e-05/0.1364, allocations: 8.25 kB / 0.6854 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.1364, allocations: 0 / 0.6854 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1364, allocations: 4 kB / 0.6854 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.1365, allocations: 0 / 0.6854 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.489e-05/0.1366, allocations: 173.6 kB / 0.6855 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1366, allocations: 3.938 kB / 0.6855 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1366, allocations: 0 / 0.6855 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.1366, allocations: 4 kB / 0.6855 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.1366, allocations: 4 kB / 0.6855 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1366, allocations: 0 / 0.6855 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1366, allocations: 0 / 0.6855 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.1368, allocations: 226.6 kB / 0.6857 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.926e-05/0.1369, allocations: 84.95 kB / 0.6858 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.1369, allocations: 7.984 kB / 0.6858 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.144e-05/0.1369, allocations: 3.938 kB / 0.6858 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.137, allocations: 16.02 kB / 0.6859 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.137, allocations: 4 kB / 0.6859 GB, free: 10.22 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.645e-05/0.1371, allocations: 101.6 kB / 0.686 GB, free: 10.12 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1371, allocations: 0 / 0.686 GB, free: 10.12 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.1373, allocations: 67.98 kB / 0.686 GB, free: 10.06 MB / 494.1 MB 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.000582/0.1379, allocations: 0.817 MB / 0.6868 GB, free: 9.207 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003418/0.1383, allocations: 378.6 kB / 0.6872 GB, free: 8.812 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1383, allocations: 3.938 kB / 0.6872 GB, free: 8.809 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.1384, allocations: 135.3 kB / 0.6873 GB, free: 8.664 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.1385, allocations: 4 kB / 0.6873 GB, free: 8.66 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.1403, allocations: 2.123 MB / 0.6894 GB, free: 6.441 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.1405, allocations: 0.6928 MB / 0.6901 GB, free: 5.723 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.442e-06/0.1405, allocations: 3.938 kB / 0.6901 GB, free: 5.719 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.401e-05/0.1405, allocations: 23.42 kB / 0.6901 GB, free: 5.695 MB / 494.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1405, allocations: 0 / 0.6901 GB, free: 5.695 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7899/0.9305, allocations: 3.05 MB / 0.6931 GB, free: 2.77 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/0.9307, allocations: 217.1 kB / 0.6933 GB, free: 2.516 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/2.477, allocations: 2.5 kB / 0.6933 GB, free: 2.516 MB / 494.1 MB (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)