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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(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.0008113/0.0008113, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0008761/0.000876, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.2 MB / 240 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9578/0.9578, allocations: 143.4 MB / 434.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003157/0.0003159, allocations: 15.98 kB / 0.5161 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.157, allocations: 83.42 MB / 0.5976 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite): time 0.0006848/0.1577, allocations: 331 kB / 0.5979 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001615/0.1594, allocations: 1.338 MB / 0.5992 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.373e-05/0.1594, allocations: 4 kB / 0.5992 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.74e-05/0.1595, allocations: 7.922 kB / 0.5992 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.429e-05/0.1595, allocations: 0 / 0.5992 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005253/0.1601, allocations: 131.7 kB / 0.5993 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.424e-05/0.1601, allocations: 43.88 kB / 0.5994 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.562e-05/0.1602, allocations: 0 / 0.5994 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.734e-05/0.1602, allocations: 15.98 kB / 0.5994 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.798e-05/0.1603, allocations: 31.91 kB / 0.5994 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.1603, allocations: 4 kB / 0.5994 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002876/0.1606, allocations: 183.7 kB / 0.5996 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.181e-05/0.1606, allocations: 11.92 kB / 0.5996 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.523e-05/0.1607, allocations: 29.7 kB / 0.5996 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.1609, allocations: 120.1 kB / 0.5997 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1609, allocations: 0 / 0.5997 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1609, allocations: 0 / 0.5997 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.1609, allocations: 3.938 kB / 0.5997 GB, free: 5.453 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.0003776/0.1613, allocations: 434.5 kB / 0.6002 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.1613, allocations: 12.03 kB / 0.6002 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.004e-05/0.1614, allocations: 38.55 kB / 0.6002 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.033e-05/0.1614, allocations: 7.906 kB / 0.6002 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.1615, allocations: 174.9 kB / 0.6004 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1615, allocations: 4 kB / 0.6004 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.1616, allocations: 0 / 0.6004 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.1617, allocations: 93.64 kB / 0.6005 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.1617, allocations: 0 / 0.6005 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.1618, allocations: 0 / 0.6005 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1618, allocations: 4 kB / 0.6005 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.453e-05/0.1619, allocations: 63.95 kB / 0.6005 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001438/0.162, allocations: 177.5 kB / 0.6007 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.1621, allocations: 86.47 kB / 0.6008 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.104e-05/0.1622, allocations: 64.89 kB / 0.6009 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.224e-06/0.1622, allocations: 3.938 kB / 0.6009 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.1623, allocations: 34.56 kB / 0.6009 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.1623, allocations: 4 kB / 0.6009 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0003592/0.1626, allocations: 255.1 kB / 0.6011 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.1627, allocations: 81.11 kB / 0.6012 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.1628, allocations: 153.9 kB / 0.6014 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.1628, allocations: 29.64 kB / 0.6014 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/0.1629, allocations: 92.05 kB / 0.6015 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.1629, allocations: 7.906 kB / 0.6015 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-06/0.1629, allocations: 0 / 0.6015 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.181e-05/0.163, allocations: 322.8 kB / 0.6018 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.1631, allocations: 103.9 kB / 0.6019 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.1633, allocations: 107.9 kB / 0.602 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.1634, allocations: 159.3 kB / 0.6021 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1634, allocations: 0 / 0.6021 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003232/0.1637, allocations: 316.8 kB / 0.6025 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.814e-05/0.1638, allocations: 77.56 kB / 0.6025 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1638, allocations: 0 / 0.6025 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1638, allocations: 4 kB / 0.6025 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.293e-06/0.1638, allocations: 0 / 0.6025 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1639, allocations: 0 / 0.6025 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.164, allocations: 19.91 kB / 0.6025 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.164, allocations: 4 kB / 0.6026 GB, free: 2.293 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.1641, allocations: 155.4 kB / 0.6027 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/0.1642, allocations: 11.89 kB / 0.6027 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.772e-05/0.1642, allocations: 12.25 kB / 0.6027 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1642, allocations: 3.938 kB / 0.6027 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1642, allocations: 0 / 0.6027 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.1642, allocations: 3.938 kB / 0.6027 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.1643, allocations: 177.6 kB / 0.6029 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1643, allocations: 0 / 0.6029 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.11e-07/0.1643, allocations: 0 / 0.6029 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1643, allocations: 0 / 0.6029 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.1643, allocations: 8 kB / 0.6029 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1644, allocations: 0 / 0.6029 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1644, allocations: 0 / 0.6029 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.1646, allocations: 222.6 kB / 0.6031 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.92e-05/0.1647, allocations: 85.09 kB / 0.6032 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.1647, allocations: 4 kB / 0.6032 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.385e-05/0.1648, allocations: 4 kB / 0.6032 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.1648, allocations: 7.984 kB / 0.6032 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.1648, allocations: 8 kB / 0.6032 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.296e-05/0.1649, allocations: 111.1 kB / 0.6033 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1649, allocations: 0 / 0.6033 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002946/0.1652, allocations: 67.98 kB / 0.6034 GB, free: 1.316 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006552/0.1659, allocations: 0.8093 MB / 0.6042 GB, free: 484 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003707/0.1663, allocations: 370.6 kB / 0.6045 GB, free: 88 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1663, allocations: 0 / 0.6045 GB, free: 88 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.2761/0.4424, allocations: 135.2 kB / 0.6047 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.4426, allocations: 6.188 kB / 0.6047 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.4439, allocations: 1.013 MB / 0.6057 GB, free: 40.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.444, allocations: 0.6923 MB / 0.6063 GB, free: 39.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.631e-06/0.444, allocations: 0 / 0.6063 GB, free: 39.88 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.267e-05/0.444, allocations: 18.88 kB / 0.6064 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of SimCode: time 1.423e-06/0.444, allocations: 0.7812 kB / 0.6064 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01271/0.4568, allocations: 2.976 MB / 0.6093 GB, free: 39.74 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001473/0.4569, allocations: 196.4 kB / 0.6095 GB, free: 39.51 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/2.151, allocations: 1.828 kB / 0.6095 GB, free: 39.51 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_CubicHermite.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) Environment - environmentSimulation: