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.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.005507/0.005506, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001997/0.001997, allocations: 198.8 kB / 16.67 MB, free: 5.934 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9455/0.9455, allocations: 143.3 MB / 433.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 64.72 kB / 0.5953 GB, free: 12.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1576, allocations: 82.04 MB / 0.6754 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002762/0.1604, allocations: 1.419 MB / 0.6768 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.1618, allocations: 0.7839 MB / 0.6776 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.902e-05/0.1619, allocations: 0 / 0.6776 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 6.234e-05/0.1619, allocations: 0 / 0.6776 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.473e-05/0.162, allocations: 3.938 kB / 0.6776 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006505/0.1627, allocations: 170.2 kB / 0.6778 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.1628, allocations: 51.91 kB / 0.6778 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.849e-05/0.1628, allocations: 4 kB / 0.6778 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.25e-05/0.1629, allocations: 19.92 kB / 0.6778 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.935e-05/0.163, allocations: 23.91 kB / 0.6778 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.163, allocations: 4 kB / 0.6778 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003551/0.1633, allocations: 203.7 kB / 0.678 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.064e-05/0.1634, allocations: 8 kB / 0.6781 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.711e-05/0.1634, allocations: 23.86 kB / 0.6781 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003191/0.1638, allocations: 191.8 kB / 0.6783 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1638, allocations: 0 / 0.6783 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1638, allocations: 0 / 0.6783 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.1638, allocations: 0 / 0.6783 GB, free: 7.684 MB / 0.5137 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.0005655/0.1644, allocations: 446.4 kB / 0.6787 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.1644, allocations: 8.031 kB / 0.6787 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.11e-05/0.1645, allocations: 30.75 kB / 0.6787 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.972e-05/0.1645, allocations: 8.891 kB / 0.6787 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.1647, allocations: 180.2 kB / 0.6789 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.1647, allocations: 384 / 0.6789 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.1647, allocations: 4.375 kB / 0.6789 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.1649, allocations: 81.78 kB / 0.679 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.1649, allocations: 0 / 0.679 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.1649, allocations: 0 / 0.679 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.165, allocations: 0 / 0.679 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.1651, allocations: 47.97 kB / 0.679 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004181/0.1655, allocations: 280.8 kB / 0.6793 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.1656, allocations: 62.48 kB / 0.6794 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.108e-05/0.1657, allocations: 44.91 kB / 0.6794 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.1658, allocations: 0 / 0.6794 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/0.1658, allocations: 42.56 kB / 0.6794 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.1658, allocations: 0 / 0.6794 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0004113/0.1662, allocations: 187.2 kB / 0.6796 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.1663, allocations: 81.11 kB / 0.6797 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.1664, allocations: 125.7 kB / 0.6798 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.1665, allocations: 25.7 kB / 0.6798 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.799e-05/0.1665, allocations: 92.12 kB / 0.6799 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.488e-05/0.1665, allocations: 3.953 kB / 0.6799 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.82e-05/0.1666, allocations: 21.72 kB / 0.68 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1667, allocations: 330.8 kB / 0.6803 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.1669, allocations: 55.97 kB / 0.6803 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.167, allocations: 55.95 kB / 0.6804 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002426/0.1672, allocations: 197.8 kB / 0.6806 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1672, allocations: 0 / 0.6806 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003321/0.1676, allocations: 220.9 kB / 0.6808 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.279e-05/0.1676, allocations: 63.39 kB / 0.6808 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1676, allocations: 0 / 0.6808 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1677, allocations: 4 kB / 0.6808 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.074e-05/0.1677, allocations: 4 kB / 0.6808 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.1677, allocations: 3.938 kB / 0.6808 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.917e-05/0.1678, allocations: 7.938 kB / 0.6809 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.1678, allocations: 12.22 kB / 0.6809 GB, free: 4.711 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.1679, allocations: 147.5 kB / 0.681 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.168, allocations: 3.953 kB / 0.681 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.272e-05/0.168, allocations: 15.89 kB / 0.681 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.168, allocations: 7.984 kB / 0.681 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.168, allocations: 0 / 0.681 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.168, allocations: 0 / 0.681 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.1682, allocations: 173.6 kB / 0.6812 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.1682, allocations: 4 kB / 0.6812 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.757e-05/0.1683, allocations: 0 / 0.6812 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1683, allocations: 0 / 0.6812 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.1683, allocations: 4 kB / 0.6812 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1683, allocations: 0 / 0.6812 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1683, allocations: 4.062 kB / 0.6812 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002996/0.1686, allocations: 249.1 kB / 0.6814 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.787e-05/0.1687, allocations: 89.06 kB / 0.6815 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.1687, allocations: 3.984 kB / 0.6815 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.032e-05/0.1688, allocations: 4 kB / 0.6815 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.1689, allocations: 7.984 kB / 0.6815 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.1689, allocations: 0 / 0.6815 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.093e-05/0.169, allocations: 99.27 kB / 0.6816 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.169, allocations: 4.031 kB / 0.6816 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003234/0.1694, allocations: 51.94 kB / 0.6817 GB, free: 3.75 MB / 0.5137 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 (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.0007804/0.1701, allocations: 0.8427 MB / 0.6825 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003673/0.1705, allocations: 242.8 kB / 0.6827 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1705, allocations: 0 / 0.6827 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.1707, allocations: 103.4 kB / 0.6828 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.1709, allocations: 6.844 kB / 0.6829 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.1728, allocations: 1.755 MB / 0.6846 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.1732, allocations: 0.6807 MB / 0.6852 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.639e-05/0.1732, allocations: 0 / 0.6852 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.91e-05/0.1732, allocations: 27.42 kB / 0.6853 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of SimCode: time 3.61e-07/0.1733, allocations: 0 / 0.6853 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.761/1.934, allocations: 2.846 MB / 0.688 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.68/11.61, allocations: 1.859 kB / 0.688 GB, free: 13.25 MB / 0.5294 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/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)