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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001281, allocations: 105.9 kB / 16.4 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 191.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/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.9238/0.9238, allocations: 143.3 MB / 440.5 MB, free: 11.25 MB / 350.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 64.05 kB / 0.6038 GB, free: 11.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1601, allocations: 82.03 MB / 0.6839 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002577/0.1627, allocations: 1.416 MB / 0.6853 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001408/0.1642, allocations: 0.78 MB / 0.6861 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.141e-05/0.1642, allocations: 0 / 0.6861 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 7.319e-05/0.1643, allocations: 0 / 0.6861 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.644e-05/0.1644, allocations: 7.938 kB / 0.6861 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000647/0.165, allocations: 171.9 kB / 0.6863 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.1652, allocations: 55.83 kB / 0.6863 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.1653, allocations: 7.938 kB / 0.6863 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.033e-05/0.1653, allocations: 15.98 kB / 0.6863 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.969e-05/0.1654, allocations: 15.92 kB / 0.6863 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.1654, allocations: 4 kB / 0.6863 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003828/0.1658, allocations: 207.7 kB / 0.6865 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.479e-05/0.1659, allocations: 8 kB / 0.6866 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.644e-05/0.1659, allocations: 23.86 kB / 0.6866 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003121/0.1662, allocations: 191.5 kB / 0.6868 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1662, allocations: 0 / 0.6868 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1663, allocations: 0 / 0.6868 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.1663, allocations: 0 / 0.6868 GB, free: 6.777 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.0005455/0.1668, allocations: 442.4 kB / 0.6872 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.1669, allocations: 8.031 kB / 0.6872 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.374e-05/0.1669, allocations: 38.75 kB / 0.6872 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.012e-05/0.1669, allocations: 8.891 kB / 0.6872 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.1671, allocations: 168.3 kB / 0.6874 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.1671, allocations: 8.375 kB / 0.6874 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.1671, allocations: 384 / 0.6874 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.1673, allocations: 77.78 kB / 0.6875 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1673, allocations: 0 / 0.6875 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.1674, allocations: 4 kB / 0.6875 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1674, allocations: 0 / 0.6875 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.1675, allocations: 51.91 kB / 0.6875 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/0.1679, allocations: 280.8 kB / 0.6878 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.168, allocations: 62.48 kB / 0.6879 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.196e-05/0.1681, allocations: 48.91 kB / 0.6879 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.1681, allocations: 0 / 0.6879 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.1682, allocations: 34.56 kB / 0.6879 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1682, allocations: 0 / 0.6879 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0003919/0.1686, allocations: 183.3 kB / 0.6881 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.1686, allocations: 85.09 kB / 0.6882 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.1688, allocations: 133.5 kB / 0.6883 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.1688, allocations: 29.7 kB / 0.6884 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.708e-05/0.1689, allocations: 88.12 kB / 0.6884 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.1689, allocations: 7.953 kB / 0.6884 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.256e-05/0.169, allocations: 21.75 kB / 0.6885 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.1691, allocations: 322.8 kB / 0.6888 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.1693, allocations: 55.97 kB / 0.6888 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.1694, allocations: 60.09 kB / 0.6889 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/0.1696, allocations: 189.9 kB / 0.6891 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1696, allocations: 3.938 kB / 0.6891 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003054/0.17, allocations: 217.1 kB / 0.6893 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.696e-05/0.17, allocations: 67.41 kB / 0.6893 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.17, allocations: 3.984 kB / 0.6893 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.1701, allocations: 3.984 kB / 0.6893 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.812e-05/0.1701, allocations: 4 kB / 0.6893 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1701, allocations: 0 / 0.6893 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.211e-05/0.1702, allocations: 11.94 kB / 0.6894 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.1702, allocations: 0 / 0.6894 GB, free: 3.812 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.0001214/0.1703, allocations: 151.5 kB / 0.6895 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.1704, allocations: 11.95 kB / 0.6895 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.992e-05/0.1704, allocations: 3.906 kB / 0.6895 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1704, allocations: 0 / 0.6895 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1704, allocations: 0 / 0.6895 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1704, allocations: 3.984 kB / 0.6895 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.1706, allocations: 177.6 kB / 0.6897 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.1706, allocations: 4.062 kB / 0.6897 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.97e-05/0.1707, allocations: 7.984 kB / 0.6897 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.1707, allocations: 0 / 0.6897 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.1707, allocations: 3.938 kB / 0.6897 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1707, allocations: 4 kB / 0.6897 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1707, allocations: 0 / 0.6897 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.171, allocations: 249.1 kB / 0.69 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/0.1711, allocations: 81.06 kB / 0.69 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.1711, allocations: 4 kB / 0.69 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.137e-05/0.1712, allocations: 11.92 kB / 0.69 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.1713, allocations: 7.938 kB / 0.6901 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.1713, allocations: 12.02 kB / 0.6901 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.043e-05/0.1714, allocations: 95.27 kB / 0.6902 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1714, allocations: 0 / 0.6902 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003298/0.1717, allocations: 59.88 kB / 0.6902 GB, free: 2.832 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.0007403/0.1725, allocations: 0.835 MB / 0.691 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003499/0.1728, allocations: 242.7 kB / 0.6913 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1728, allocations: 0 / 0.6913 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.173, allocations: 99.38 kB / 0.6914 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.1732, allocations: 5.422 kB / 0.6914 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.1751, allocations: 1.757 MB / 0.6931 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.1754, allocations: 0.6885 MB / 0.6937 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.51e-05/0.1755, allocations: 4 kB / 0.6937 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.232e-05/0.1755, allocations: 11.44 kB / 0.6938 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.1755, allocations: 0 / 0.6938 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/0.1986, allocations: 2.842 MB / 0.6965 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.18/8.379, allocations: 13.12 kB / 0.6965 GB, free: 12.34 MB / 0.5294 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_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_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.974841140094213] Failed to read output from testmodel.py, exit status != 0: 8.448662157985382 8.47459973 8.303981334 Calling exit ...