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.001187/0.001187, allocations: 118.7 kB / 17.16 MB, free: 5.914 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.001322/0.001322, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.421/1.421, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.9118/0.9118, allocations: 144.9 MB / 454.5 MB, free: 10.02 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.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.00185/0.00185, allocations: 63.22 kB / 0.6287 GB, free: 33.62 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1686, allocations: 87.84 MB / 0.7145 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00265/0.1712, allocations: 1.439 MB / 0.7159 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001443/0.1727, allocations: 0.8307 MB / 0.7167 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.006e-05/0.1727, allocations: 0 / 0.7167 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.561e-05/0.1727, allocations: 7.922 kB / 0.7167 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.989e-05/0.1728, allocations: 11.92 kB / 0.7167 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006078/0.1734, allocations: 170.6 kB / 0.7169 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.1735, allocations: 43.97 kB / 0.7169 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.825e-05/0.1736, allocations: 7.938 kB / 0.7169 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.523e-05/0.1736, allocations: 23.91 kB / 0.717 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.369e-05/0.1737, allocations: 23.92 kB / 0.717 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.1737, allocations: 4 kB / 0.717 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003338/0.174, allocations: 203.7 kB / 0.7172 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.274e-05/0.1741, allocations: 11.92 kB / 0.7172 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.911e-05/0.1741, allocations: 19.92 kB / 0.7172 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002794/0.1744, allocations: 199.4 kB / 0.7174 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1744, allocations: 3.938 kB / 0.7174 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1744, allocations: 0 / 0.7174 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.1744, allocations: 0 / 0.7174 GB, free: 8.734 MB / 0.5294 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.0005456/0.1749, allocations: 434.5 kB / 0.7178 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.175, allocations: 8.031 kB / 0.7178 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.527e-05/0.175, allocations: 192 / 0.7178 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.311e-05/0.175, allocations: 34.75 kB / 0.7179 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.609e-05/0.175, allocations: 0.9375 kB / 0.7179 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.1752, allocations: 180.2 kB / 0.718 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.1752, allocations: 4.375 kB / 0.718 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.1752, allocations: 8.359 kB / 0.7181 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.1754, allocations: 81.59 kB / 0.7181 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.1754, allocations: 0 / 0.7181 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.1754, allocations: 7.938 kB / 0.7181 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.1754, allocations: 0 / 0.7181 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.1755, allocations: 43.97 kB / 0.7182 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004074/0.1759, allocations: 276.9 kB / 0.7184 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.176, allocations: 62.48 kB / 0.7185 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.835e-05/0.1761, allocations: 44.91 kB / 0.7185 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.1761, allocations: 0 / 0.7185 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.1762, allocations: 38.56 kB / 0.7186 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.1762, allocations: 0 / 0.7186 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004017/0.1766, allocations: 187.2 kB / 0.7188 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.1766, allocations: 81.11 kB / 0.7188 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.1767, allocations: 121.9 kB / 0.719 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.1768, allocations: 25.7 kB / 0.719 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.859e-05/0.1768, allocations: 92.12 kB / 0.7191 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.1768, allocations: 7.906 kB / 0.7191 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.446e-05/0.1769, allocations: 21.72 kB / 0.7191 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.177, allocations: 326.8 kB / 0.7194 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.1771, allocations: 55.97 kB / 0.7195 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.1772, allocations: 63.95 kB / 0.7195 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.1774, allocations: 193.9 kB / 0.7197 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1774, allocations: 0 / 0.7197 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002931/0.1777, allocations: 217 kB / 0.7199 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.781e-05/0.1778, allocations: 63.39 kB / 0.72 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.1778, allocations: 0 / 0.72 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1778, allocations: 0 / 0.72 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.609e-05/0.1779, allocations: 4 kB / 0.72 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.1779, allocations: 0 / 0.72 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.186e-05/0.1779, allocations: 19.88 kB / 0.72 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.1779, allocations: 8 kB / 0.72 GB, free: 5.777 MB / 0.5294 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.0001123/0.1781, allocations: 147.4 kB / 0.7201 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.1781, allocations: 7.984 kB / 0.7202 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.969e-05/0.1781, allocations: 7.906 kB / 0.7202 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1781, allocations: 3.938 kB / 0.7202 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1781, allocations: 0 / 0.7202 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1781, allocations: 0 / 0.7202 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.1783, allocations: 177.6 kB / 0.7203 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1783, allocations: 4 kB / 0.7203 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.029e-05/0.1783, allocations: 4 kB / 0.7203 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1783, allocations: 0 / 0.7203 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.1783, allocations: 0 / 0.7203 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1784, allocations: 0 / 0.7203 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1784, allocations: 0 / 0.7203 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.1786, allocations: 257.2 kB / 0.7206 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.309e-05/0.1787, allocations: 85.14 kB / 0.7207 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.1787, allocations: 12.05 kB / 0.7207 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.214e-05/0.1788, allocations: 4 kB / 0.7207 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.1789, allocations: 7.969 kB / 0.7207 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.1789, allocations: 4 kB / 0.7207 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.233e-05/0.179, allocations: 95.27 kB / 0.7208 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.179, allocations: 0 / 0.7208 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000317/0.1793, allocations: 67.81 kB / 0.7208 GB, free: 4.801 MB / 0.5294 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.0007595/0.18, allocations: 0.8272 MB / 0.7217 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000338/0.1804, allocations: 230.7 kB / 0.7219 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1804, allocations: 0 / 0.7219 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.1805, allocations: 99.38 kB / 0.722 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.1807, allocations: 9.719 kB / 0.722 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.1827, allocations: 1.773 MB / 0.7237 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.183, allocations: 0.6885 MB / 0.7244 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.717e-05/0.183, allocations: 0 / 0.7244 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.201e-05/0.1831, allocations: 11.44 kB / 0.7244 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of SimCode: time 2.9e-07/0.1831, allocations: 0 / 0.7244 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01988/0.203, allocations: 2.853 MB / 0.7272 GB, free: 14.34 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.856/8.059, allocations: 15.84 kB / 0.7272 GB, free: 14.32 MB / 0.545 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 & /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: 11.7303498450201] Failed to read output from testmodel.py, exit status != 0: 8.19333815696882 8.207646803 8.030535272 Calling exit ...