Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",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.0009224/0.0009223, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001196/0.001196, allocations: 168.7 kB / 15.95 MB, free: 204 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.396/1.396, allocations: 223.2 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.021/1.021, allocations: 143.4 MB / 434.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003605, allocations: 12 kB / 0.5161 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.154, allocations: 83.42 MB / 0.5976 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001534/0.1556, allocations: 1.132 MB / 0.5987 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.1567, allocations: 0.7262 MB / 0.5994 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.271e-05/0.1568, allocations: 4 kB / 0.5994 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.308e-05/0.1569, allocations: 4 kB / 0.5994 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.149e-05/0.1569, allocations: 3.984 kB / 0.5994 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005427/0.1574, allocations: 119.8 kB / 0.5995 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.708e-05/0.1575, allocations: 35.91 kB / 0.5995 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.131e-05/0.1576, allocations: 4 kB / 0.5995 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.022e-05/0.1576, allocations: 15.92 kB / 0.5996 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.582e-05/0.1577, allocations: 19.98 kB / 0.5996 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.1577, allocations: 0 / 0.5996 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003159/0.158, allocations: 187.7 kB / 0.5998 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.987e-05/0.1581, allocations: 7.938 kB / 0.5998 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.1581, allocations: 29.7 kB / 0.5998 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.1583, allocations: 131.8 kB / 0.5999 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1583, allocations: 0 / 0.5999 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1583, allocations: 0 / 0.5999 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.1583, allocations: 0 / 0.5999 GB, free: 5.273 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.0004512/0.1588, allocations: 430.8 kB / 0.6003 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.1588, allocations: 12.03 kB / 0.6003 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.693e-05/0.1589, allocations: 42.42 kB / 0.6004 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.824e-05/0.1589, allocations: 7.953 kB / 0.6004 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.159, allocations: 167 kB / 0.6005 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.1591, allocations: 7.984 kB / 0.6006 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.1591, allocations: 4 kB / 0.6006 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.1593, allocations: 73.66 kB / 0.6006 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.1593, allocations: 0 / 0.6006 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.1593, allocations: 4 kB / 0.6006 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1593, allocations: 4 kB / 0.6006 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.1594, allocations: 47.97 kB / 0.6007 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003744/0.1598, allocations: 284.7 kB / 0.601 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.1599, allocations: 62.55 kB / 0.601 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.122e-05/0.16, allocations: 52.91 kB / 0.6011 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.838e-06/0.1601, allocations: 0 / 0.6011 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.1601, allocations: 30.56 kB / 0.6011 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.1601, allocations: 0 / 0.6011 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003732/0.1605, allocations: 195.2 kB / 0.6013 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.1605, allocations: 81.11 kB / 0.6014 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.419e-05/0.1606, allocations: 125.7 kB / 0.6015 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.1606, allocations: 29.7 kB / 0.6015 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.12e-05/0.1607, allocations: 88.12 kB / 0.6016 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.1607, allocations: 11.84 kB / 0.6016 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.1607, allocations: 0 / 0.6016 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.222e-05/0.1608, allocations: 318.9 kB / 0.6019 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.1609, allocations: 59.95 kB / 0.602 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.913e-05/0.161, allocations: 59.97 kB / 0.602 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.1612, allocations: 115.4 kB / 0.6021 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1612, allocations: 3.938 kB / 0.6021 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002741/0.1615, allocations: 225 kB / 0.6023 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.662e-05/0.1615, allocations: 63.39 kB / 0.6024 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.1615, allocations: 0 / 0.6024 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.1615, allocations: 0 / 0.6024 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.045e-05/0.1616, allocations: 4 kB / 0.6024 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1616, allocations: 3.953 kB / 0.6024 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.941e-05/0.1617, allocations: 15.89 kB / 0.6024 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.1617, allocations: 4 kB / 0.6024 GB, free: 2.406 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 (cubSpl.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * 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.0001042/0.1618, allocations: 147.5 kB / 0.6026 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.081e-05/0.1618, allocations: 4 kB / 0.6026 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.225e-05/0.1619, allocations: 7.906 kB / 0.6026 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1619, allocations: 0 / 0.6026 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1619, allocations: 0 / 0.6026 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1619, allocations: 3.953 kB / 0.6026 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.162, allocations: 173.6 kB / 0.6028 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1621, allocations: 4 kB / 0.6028 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.904e-05/0.1621, allocations: 4 kB / 0.6028 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1621, allocations: 0 / 0.6028 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.1621, allocations: 8 kB / 0.6028 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1621, allocations: 0 / 0.6028 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1621, allocations: 3.984 kB / 0.6028 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.1624, allocations: 257.2 kB / 0.603 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.419e-05/0.1624, allocations: 89 kB / 0.6031 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.1625, allocations: 0 / 0.6031 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-05/0.1625, allocations: 12.03 kB / 0.6031 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.908e-05/0.1626, allocations: 7.984 kB / 0.6031 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.1627, allocations: 4 kB / 0.6031 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.465e-05/0.1627, allocations: 95.7 kB / 0.6032 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1627, allocations: 0 / 0.6032 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003201/0.163, allocations: 63.98 kB / 0.6033 GB, free: 1.426 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 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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.0006631/0.1637, allocations: 0.8389 MB / 0.6041 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002927/0.164, allocations: 238.7 kB / 0.6043 GB, free: 304 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.164, allocations: 0 / 0.6043 GB, free: 304 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.1642, allocations: 111.4 kB / 0.6044 GB, free: 180 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.1644, allocations: 336 / 0.6044 GB, free: 180 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2864/0.4508, allocations: 0.7263 MB / 0.6051 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.4512, allocations: 0.689 MB / 0.6058 GB, free: 39.97 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.91e-05/0.4512, allocations: 1.594 kB / 0.6058 GB, free: 39.97 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.065e-05/0.4513, allocations: 11 kB / 0.6058 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of SimCode: time 3.497e-06/0.4513, allocations: 0 / 0.6058 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01437/0.4657, allocations: 2.568 MB / 0.6083 GB, free: 39.88 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001604/0.4659, allocations: 233.6 kB / 0.6086 GB, free: 39.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/2.216, allocations: 1.125 kB / 0.6086 GB, free: 39.64 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) Environment - environmentSimulation: