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.00126/0.00126, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001369/0.001369, allocations: 212.5 kB / 23.04 MB, free: 5.082 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.365/1.365, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.8794/0.8794, allocations: 145 MB / 458.2 MB, free: 15.58 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.002002/0.002002, allocations: 69.77 kB / 0.634 GB, free: 7.332 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1673, allocations: 87.88 MB / 0.7198 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002706/0.17, allocations: 1.455 MB / 0.7212 GB, free: 14 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001461/0.1715, allocations: 0.8468 MB / 0.722 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.271e-05/0.1715, allocations: 4 kB / 0.722 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.077e-05/0.1716, allocations: 3.938 kB / 0.722 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.687e-05/0.1716, allocations: 7.922 kB / 0.722 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000682/0.1723, allocations: 171.6 kB / 0.7222 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.1724, allocations: 43.92 kB / 0.7222 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.192e-05/0.1725, allocations: 11.97 kB / 0.7223 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.682e-05/0.1725, allocations: 19.94 kB / 0.7223 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.77e-05/0.1726, allocations: 19.97 kB / 0.7223 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.1726, allocations: 4 kB / 0.7223 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003861/0.173, allocations: 223.7 kB / 0.7225 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.664e-05/0.1731, allocations: 15.92 kB / 0.7225 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.519e-05/0.1731, allocations: 19.88 kB / 0.7225 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003008/0.1734, allocations: 195.5 kB / 0.7227 GB, free: 12.41 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1734, allocations: 0 / 0.7227 GB, free: 12.41 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1734, allocations: 0 / 0.7227 GB, free: 12.41 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.1734, allocations: 0 / 0.7227 GB, free: 12.41 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.0005124/0.1739, allocations: 361.3 kB / 0.7231 GB, free: 12.02 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.174, allocations: 12.03 kB / 0.7231 GB, free: 12.01 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.71e-05/0.174, allocations: 192 / 0.7231 GB, free: 12.01 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.889e-05/0.174, allocations: 30.75 kB / 0.7231 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.174, allocations: 8.875 kB / 0.7231 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.1741, allocations: 118.4 kB / 0.7232 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.1742, allocations: 4.375 kB / 0.7232 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.1742, allocations: 4.375 kB / 0.7232 GB, free: 11.81 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.1744, allocations: 77.61 kB / 0.7233 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.1744, allocations: 0 / 0.7233 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.1744, allocations: 4 kB / 0.7233 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.1744, allocations: 0 / 0.7233 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.1745, allocations: 51.95 kB / 0.7234 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.1749, allocations: 255.8 kB / 0.7236 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.175, allocations: 58.56 kB / 0.7237 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.053e-05/0.1751, allocations: 44.91 kB / 0.7237 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.1751, allocations: 3.938 kB / 0.7237 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.1752, allocations: 38.56 kB / 0.7238 GB, free: 11.22 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.1752, allocations: 0 / 0.7238 GB, free: 11.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.000409/0.1756, allocations: 187.2 kB / 0.7239 GB, free: 11.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.1756, allocations: 77.11 kB / 0.724 GB, free: 10.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.1758, allocations: 133.8 kB / 0.7241 GB, free: 10.79 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.1758, allocations: 25.7 kB / 0.7242 GB, free: 10.76 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.15e-05/0.1759, allocations: 88.14 kB / 0.7242 GB, free: 10.67 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.1759, allocations: 11.89 kB / 0.7243 GB, free: 10.66 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.981e-05/0.1759, allocations: 21.72 kB / 0.7243 GB, free: 10.63 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1761, allocations: 322.8 kB / 0.7246 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.1762, allocations: 59.97 kB / 0.7246 GB, free: 10.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.837e-05/0.1763, allocations: 51.97 kB / 0.7247 GB, free: 10.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.1765, allocations: 201.9 kB / 0.7249 GB, free: 9.977 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1765, allocations: 0 / 0.7249 GB, free: 9.977 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003103/0.1768, allocations: 217 kB / 0.7251 GB, free: 9.746 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.902e-05/0.1769, allocations: 59.41 kB / 0.7251 GB, free: 9.676 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1769, allocations: 4.172 kB / 0.7252 GB, free: 9.672 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1769, allocations: 0 / 0.7252 GB, free: 9.672 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.609e-05/0.177, allocations: 7.984 kB / 0.7252 GB, free: 9.664 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.177, allocations: 0 / 0.7252 GB, free: 9.664 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.037e-05/0.177, allocations: 11.95 kB / 0.7252 GB, free: 9.652 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.177, allocations: 11.98 kB / 0.7252 GB, free: 9.641 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.0001243/0.1772, allocations: 148.8 kB / 0.7253 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.1772, allocations: 0 / 0.7253 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.528e-05/0.1772, allocations: 12 kB / 0.7253 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1772, allocations: 0 / 0.7253 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1772, allocations: 3.984 kB / 0.7253 GB, free: 9.457 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1772, allocations: 0 / 0.7253 GB, free: 9.457 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/0.1775, allocations: 148.6 kB / 0.7255 GB, free: 9.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1775, allocations: 7.984 kB / 0.7255 GB, free: 9.262 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.21e-05/0.1775, allocations: 4.062 kB / 0.7255 GB, free: 9.258 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1775, allocations: 4 kB / 0.7255 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.1775, allocations: 0 / 0.7255 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.1775, allocations: 0 / 0.7255 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1775, allocations: 0 / 0.7255 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.1778, allocations: 257 kB / 0.7257 GB, free: 8.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.024e-05/0.1778, allocations: 8.016 kB / 0.7257 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.1779, allocations: 4 kB / 0.7258 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-05/0.1779, allocations: 8 kB / 0.7258 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.1781, allocations: 3.984 kB / 0.7258 GB, free: 8.957 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.1781, allocations: 4 kB / 0.7258 GB, free: 8.953 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.552e-05/0.1781, allocations: 103.2 kB / 0.7259 GB, free: 8.852 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1781, allocations: 0 / 0.7259 GB, free: 8.852 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003297/0.1785, allocations: 55.89 kB / 0.7259 GB, free: 8.797 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.0008935/0.1794, allocations: 0.831 MB / 0.7267 GB, free: 7.934 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003449/0.1797, allocations: 238.7 kB / 0.727 GB, free: 7.676 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1797, allocations: 0 / 0.727 GB, free: 7.676 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.1798, allocations: 103.4 kB / 0.7271 GB, free: 7.562 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.18, allocations: 7.141 kB / 0.7271 GB, free: 7.559 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.1821, allocations: 1.767 MB / 0.7288 GB, free: 5.699 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.1824, allocations: 0.6807 MB / 0.7295 GB, free: 4.992 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.297e-05/0.1824, allocations: 3.938 kB / 0.7295 GB, free: 4.988 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.394e-05/0.1824, allocations: 19.42 kB / 0.7295 GB, free: 4.973 MB / 0.545 GB Notification: Performance of SimCode: time 6.31e-07/0.1824, allocations: 0 / 0.7295 GB, free: 4.973 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.2057, allocations: 2.92 MB / 0.7323 GB, free: 2.242 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.15, allocations: 20.59 kB / 0.7323 GB, free: 2.227 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.649408542027231] Failed to read output from testmodel.py, exit status != 0: 11.310979911009781 11.335836365 11.157784431 Calling exit ...