Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.00147/0.00147, allocations: 108 kB / 15.61 MB, free: 152 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.001616/0.001616, allocations: 193.3 kB / 16.53 MB, free: 6.699 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.418/1.418, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9766/0.9766, allocations: 143 MB / 433.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 67.91 kB / 0.5143 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1497, allocations: 82.05 MB / 0.5944 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite): time 0.001783/0.1515, allocations: 0.6076 MB / 0.595 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001736/0.1533, allocations: 1.377 MB / 0.5963 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.152e-05/0.1533, allocations: 0 / 0.5963 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.354e-05/0.1534, allocations: 3.938 kB / 0.5963 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.721e-05/0.1534, allocations: 0 / 0.5963 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006769/0.1541, allocations: 183.5 kB / 0.5965 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.429e-05/0.1542, allocations: 47.89 kB / 0.5966 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.854e-05/0.1543, allocations: 8 kB / 0.5966 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.876e-05/0.1543, allocations: 19.97 kB / 0.5966 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.253e-05/0.1544, allocations: 31.84 kB / 0.5966 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.1544, allocations: 4 kB / 0.5966 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003109/0.1547, allocations: 195.7 kB / 0.5968 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.45e-05/0.1548, allocations: 7.938 kB / 0.5968 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.169e-05/0.1548, allocations: 27.84 kB / 0.5969 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.1551, allocations: 195.8 kB / 0.597 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.1551, allocations: 0 / 0.597 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1551, allocations: 0 / 0.597 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.1551, allocations: 0 / 0.597 GB, free: 6.754 MB / 0.4981 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.0004209/0.1556, allocations: 442.7 kB / 0.5975 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.1556, allocations: 12.03 kB / 0.5975 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.009e-05/0.1556, allocations: 30.75 kB / 0.5975 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.388e-05/0.1557, allocations: 8.844 kB / 0.5975 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.1558, allocations: 176.2 kB / 0.5977 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.1558, allocations: 384 / 0.5977 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.1558, allocations: 4.375 kB / 0.5977 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.156, allocations: 101.8 kB / 0.5978 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.156, allocations: 0 / 0.5978 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.156, allocations: 4 kB / 0.5978 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.156, allocations: 0 / 0.5978 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.35e-05/0.1561, allocations: 63.89 kB / 0.5978 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.1563, allocations: 177.6 kB / 0.598 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.1564, allocations: 82.53 kB / 0.5981 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.094e-05/0.1565, allocations: 68.83 kB / 0.5982 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.892e-06/0.1565, allocations: 0 / 0.5982 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.1565, allocations: 38.5 kB / 0.5982 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.1565, allocations: 0 / 0.5982 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0003589/0.1569, allocations: 251.2 kB / 0.5984 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.1569, allocations: 89.09 kB / 0.5985 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.1571, allocations: 148 kB / 0.5987 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.1571, allocations: 25.7 kB / 0.5987 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.354e-05/0.1571, allocations: 92.12 kB / 0.5988 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.1572, allocations: 7.812 kB / 0.5988 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.325e-05/0.1572, allocations: 33.73 kB / 0.5988 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.99e-05/0.1573, allocations: 318.8 kB / 0.5991 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.1575, allocations: 103.9 kB / 0.5992 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.1576, allocations: 99.94 kB / 0.5993 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.1578, allocations: 277.8 kB / 0.5996 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1578, allocations: 0 / 0.5996 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000336/0.1582, allocations: 332.8 kB / 0.5999 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.602e-05/0.1582, allocations: 71.38 kB / 0.6 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1583, allocations: 0 / 0.6 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1583, allocations: 8 kB / 0.6 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.1583, allocations: 0 / 0.6 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1583, allocations: 0 / 0.6 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.1584, allocations: 11.94 kB / 0.6 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.1585, allocations: 7.984 kB / 0.6 GB, free: 3.434 MB / 0.4981 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.0001004/0.1586, allocations: 151.5 kB / 0.6001 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.768e-05/0.1586, allocations: 11.84 kB / 0.6001 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.617e-05/0.1586, allocations: 12.23 kB / 0.6002 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1586, allocations: 0 / 0.6002 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1586, allocations: 4 kB / 0.6002 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1586, allocations: 144 / 0.6002 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.1587, allocations: 173.6 kB / 0.6003 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1588, allocations: 3.938 kB / 0.6003 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.444e-06/0.1588, allocations: 3.984 kB / 0.6003 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.1588, allocations: 0 / 0.6003 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1588, allocations: 4 kB / 0.6003 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.1588, allocations: 0 / 0.6003 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1588, allocations: 3.938 kB / 0.6003 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.1591, allocations: 238.6 kB / 0.6006 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.531e-05/0.1591, allocations: 84.95 kB / 0.6006 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.1591, allocations: 4 kB / 0.6007 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.559e-05/0.1592, allocations: 4 kB / 0.6007 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/0.1593, allocations: 7.984 kB / 0.6007 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.1593, allocations: 0 / 0.6007 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.974e-05/0.1593, allocations: 113.9 kB / 0.6008 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.31e-07/0.1594, allocations: 0 / 0.6008 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002891/0.1596, allocations: 60 kB / 0.6008 GB, free: 2.461 MB / 0.4981 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.0006783/0.1603, allocations: 0.817 MB / 0.6016 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003774/0.1607, allocations: 370.7 kB / 0.602 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1607, allocations: 0 / 0.602 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.1609, allocations: 135.3 kB / 0.6021 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.161, allocations: 16.09 kB / 0.6021 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.229/0.3901, allocations: 2.122 MB / 0.6042 GB, free: 43.37 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.3902, allocations: 0.6943 MB / 0.6049 GB, free: 42.67 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.506e-06/0.3902, allocations: 0 / 0.6049 GB, free: 42.67 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.3903, allocations: 19.84 kB / 0.6049 GB, free: 42.66 MB / 0.4981 GB Notification: Performance of SimCode: time 6.51e-07/0.3903, allocations: 1.531 kB / 0.6049 GB, free: 42.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01874/0.409, allocations: 3.292 MB / 0.6081 GB, free: 42.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.414/7.823, allocations: 6.75 kB / 0.6081 GB, free: 42.36 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_CubicHermite.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)