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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 217.8 kB / 23.03 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.37/1.37, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.8688/0.8688, allocations: 145 MB / 458.2 MB, free: 15.25 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 70.39 kB / 0.6339 GB, free: 6.637 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1646, allocations: 87.89 MB / 0.7197 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002518/0.1671, allocations: 1.443 MB / 0.7211 GB, free: 13.31 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.1684, allocations: 0.7768 MB / 0.7219 GB, free: 12.53 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.508e-05/0.1684, allocations: 0 / 0.7219 GB, free: 12.53 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.259e-05/0.1685, allocations: 3.938 kB / 0.7219 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.342e-05/0.1685, allocations: 3.938 kB / 0.7219 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006216/0.1692, allocations: 179.6 kB / 0.722 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.1693, allocations: 51.84 kB / 0.7221 GB, free: 12.29 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.155e-05/0.1694, allocations: 3.984 kB / 0.7221 GB, free: 12.29 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.482e-05/0.1694, allocations: 15.98 kB / 0.7221 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.426e-05/0.1694, allocations: 23.92 kB / 0.7221 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.1695, allocations: 4 kB / 0.7221 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003705/0.1698, allocations: 223.7 kB / 0.7224 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.264e-05/0.1699, allocations: 11.94 kB / 0.7224 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.941e-05/0.1699, allocations: 15.94 kB / 0.7224 GB, free: 12 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.1702, allocations: 195.5 kB / 0.7226 GB, free: 11.81 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1702, allocations: 0 / 0.7226 GB, free: 11.81 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1702, allocations: 0 / 0.7226 GB, free: 11.81 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.1702, allocations: 0 / 0.7226 GB, free: 11.81 MB / 0.545 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.0004839/0.1707, allocations: 361.3 kB / 0.7229 GB, free: 11.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.1707, allocations: 12.03 kB / 0.7229 GB, free: 11.4 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.057e-05/0.1707, allocations: 192 / 0.7229 GB, free: 11.4 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.922e-05/0.1708, allocations: 34.75 kB / 0.723 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.057e-05/0.1708, allocations: 8.938 kB / 0.723 GB, free: 11.35 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.1709, allocations: 118.4 kB / 0.7231 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.1709, allocations: 4.375 kB / 0.7231 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.1709, allocations: 8.312 kB / 0.7231 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.1711, allocations: 111.3 kB / 0.7232 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.1711, allocations: 0 / 0.7232 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.1711, allocations: 0 / 0.7232 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.1711, allocations: 0 / 0.7232 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.1713, allocations: 73.67 kB / 0.7233 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003625/0.1716, allocations: 243.9 kB / 0.7235 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.1718, allocations: 88.19 kB / 0.7236 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.1719, allocations: 82.61 kB / 0.7237 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.1719, allocations: 0 / 0.7237 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.1719, allocations: 30.56 kB / 0.7237 GB, free: 10.49 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.1719, allocations: 0 / 0.7237 GB, free: 10.49 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0004271/0.1723, allocations: 250.6 kB / 0.7239 GB, free: 10.22 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.1724, allocations: 77.11 kB / 0.724 GB, free: 10.12 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.1725, allocations: 121.8 kB / 0.7241 GB, free: 9.996 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.1725, allocations: 33.7 kB / 0.7242 GB, free: 9.957 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.973e-05/0.1726, allocations: 84.12 kB / 0.7242 GB, free: 9.871 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.1726, allocations: 19.94 kB / 0.7242 GB, free: 9.852 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.1726, allocations: 21.7 kB / 0.7243 GB, free: 9.824 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1728, allocations: 318.8 kB / 0.7246 GB, free: 9.504 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.1729, allocations: 123.3 kB / 0.7247 GB, free: 9.371 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.173, allocations: 115.4 kB / 0.7248 GB, free: 9.246 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.1733, allocations: 197.9 kB / 0.725 GB, free: 9.031 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1733, allocations: 0 / 0.725 GB, free: 9.031 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003299/0.1736, allocations: 280.5 kB / 0.7253 GB, free: 8.727 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.532e-05/0.1736, allocations: 67.39 kB / 0.7253 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.1736, allocations: 4 kB / 0.7253 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1737, allocations: 4.031 kB / 0.7253 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.391e-05/0.1737, allocations: 4 kB / 0.7253 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.1737, allocations: 0 / 0.7253 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.175e-05/0.1738, allocations: 11.89 kB / 0.7253 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.1738, allocations: 7.984 kB / 0.7254 GB, free: 8.617 MB / 0.545 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.0001133/0.1739, allocations: 147.5 kB / 0.7255 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.1739, allocations: 4 kB / 0.7255 GB, free: 8.453 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.225e-05/0.1739, allocations: 7.984 kB / 0.7255 GB, free: 8.438 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1739, allocations: 4 kB / 0.7255 GB, free: 8.434 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.174, allocations: 0 / 0.7255 GB, free: 8.434 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.174, allocations: 4 kB / 0.7255 GB, free: 8.43 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.1741, allocations: 140.8 kB / 0.7256 GB, free: 8.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1741, allocations: 0 / 0.7256 GB, free: 8.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.521e-05/0.1742, allocations: 7.984 kB / 0.7257 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.1742, allocations: 0 / 0.7257 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.1742, allocations: 3.938 kB / 0.7257 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1742, allocations: 0 / 0.7257 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1742, allocations: 4 kB / 0.7257 GB, free: 8.234 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003055/0.1745, allocations: 290.8 kB / 0.7259 GB, free: 7.922 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-06/0.1745, allocations: 3.984 kB / 0.7259 GB, free: 7.918 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.1745, allocations: 4 kB / 0.7259 GB, free: 7.914 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.061e-05/0.1746, allocations: 4 kB / 0.726 GB, free: 7.91 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.1747, allocations: 7.984 kB / 0.726 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.1747, allocations: 4 kB / 0.726 GB, free: 7.898 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.953e-05/0.1747, allocations: 95.27 kB / 0.7261 GB, free: 7.805 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1747, allocations: 0 / 0.7261 GB, free: 7.805 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003051/0.1751, allocations: 63.83 kB / 0.7261 GB, free: 7.742 MB / 0.545 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.0007427/0.1758, allocations: 0.8679 MB / 0.727 GB, free: 6.836 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000387/0.1762, allocations: 323.8 kB / 0.7273 GB, free: 6.477 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1762, allocations: 0 / 0.7273 GB, free: 6.477 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.1763, allocations: 125.1 kB / 0.7274 GB, free: 6.336 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.1765, allocations: 8 kB / 0.7274 GB, free: 6.328 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.1786, allocations: 2.037 MB / 0.7294 GB, free: 4.145 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.144e-05/0.1786, allocations: 75.33 kB / 0.7295 GB, free: 4.051 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.634e-05/0.1787, allocations: 0 / 0.7295 GB, free: 4.051 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.1787, allocations: 15.44 kB / 0.7295 GB, free: 4.035 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.1787, allocations: 0 / 0.7295 GB, free: 4.035 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.2006, allocations: 2.984 MB / 0.7324 GB, free: 1.25 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.16, allocations: 8.062 kB / 0.7324 GB, free: 1.242 MB / 0.545 GB " [Timeout remaining time 649] (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 --stepSize=0.0004 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.665624867891893] Failed to read output from testmodel.py, exit status != 0: 11.319898272980936 11.337625219 11.164094583 Calling exit ...