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.001633/0.001633, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002943/0.002943, allocations: 216.5 kB / 22.26 MB, free: 5.117 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.548/1.548, allocations: 230.6 MB / 256 MB, free: 8.016 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.9519/0.9519, allocations: 145 MB / 457.4 MB, free: 15.96 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="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: 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.002156/0.002156, allocations: 76.03 kB / 0.6332 GB, free: 7.348 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1665, allocations: 87.88 MB / 0.719 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.003268/0.1698, allocations: 1.454 MB / 0.7204 GB, free: 14.01 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001782/0.1716, allocations: 0.843 MB / 0.7213 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.117e-05/0.1716, allocations: 0 / 0.7213 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.173e-05/0.1717, allocations: 3.938 kB / 0.7213 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.807e-05/0.1718, allocations: 4 kB / 0.7213 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.1728, allocations: 186.5 kB / 0.7214 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.1729, allocations: 39.97 kB / 0.7215 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.824e-05/0.173, allocations: 8 kB / 0.7215 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.175e-05/0.173, allocations: 15.92 kB / 0.7215 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.738e-05/0.1731, allocations: 19.92 kB / 0.7215 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.1731, allocations: 4 kB / 0.7215 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004175/0.1735, allocations: 231.7 kB / 0.7217 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.027e-05/0.1736, allocations: 19.86 kB / 0.7218 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.072e-05/0.1736, allocations: 15.88 kB / 0.7218 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003255/0.1739, allocations: 199.5 kB / 0.722 GB, free: 12.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1739, allocations: 0 / 0.722 GB, free: 12.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1739, allocations: 0 / 0.722 GB, free: 12.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.507e-05/0.1739, allocations: 0 / 0.722 GB, free: 12.43 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.0006582/0.1746, allocations: 361.3 kB / 0.7223 GB, free: 12.03 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.1746, allocations: 8.031 kB / 0.7223 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4e-05/0.1747, allocations: 34.75 kB / 0.7224 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.545e-05/0.1747, allocations: 4.938 kB / 0.7224 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.1748, allocations: 118.4 kB / 0.7225 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.1749, allocations: 4.375 kB / 0.7225 GB, free: 11.83 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.1749, allocations: 8.375 kB / 0.7225 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.1751, allocations: 81.72 kB / 0.7226 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1751, allocations: 0 / 0.7226 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.1751, allocations: 4 kB / 0.7226 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.1751, allocations: 0 / 0.7226 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.1752, allocations: 51.94 kB / 0.7226 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005254/0.1757, allocations: 247.9 kB / 0.7228 GB, free: 11.4 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.1759, allocations: 62.48 kB / 0.7229 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.753e-05/0.176, allocations: 44.91 kB / 0.723 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.176, allocations: 0 / 0.723 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.176, allocations: 34.56 kB / 0.723 GB, free: 11.24 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.176, allocations: 0 / 0.723 GB, free: 11.24 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0004228/0.1764, allocations: 191.3 kB / 0.7232 GB, free: 11.04 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.1765, allocations: 81.11 kB / 0.7232 GB, free: 10.94 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.1766, allocations: 125.8 kB / 0.7234 GB, free: 10.81 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.1766, allocations: 25.7 kB / 0.7234 GB, free: 10.78 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.748e-05/0.1767, allocations: 88.14 kB / 0.7235 GB, free: 10.69 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.1767, allocations: 11.84 kB / 0.7235 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.706e-05/0.1768, allocations: 25.7 kB / 0.7235 GB, free: 10.64 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1769, allocations: 322.8 kB / 0.7238 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.177, allocations: 63.98 kB / 0.7239 GB, free: 10.26 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.1772, allocations: 51.97 kB / 0.7239 GB, free: 10.21 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/0.1774, allocations: 193.9 kB / 0.7241 GB, free: 9.996 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1774, allocations: 0 / 0.7241 GB, free: 9.996 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002938/0.1777, allocations: 213 kB / 0.7243 GB, free: 9.77 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.282e-05/0.1778, allocations: 63.39 kB / 0.7244 GB, free: 9.695 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1778, allocations: 0 / 0.7244 GB, free: 9.695 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.1778, allocations: 3.938 kB / 0.7244 GB, free: 9.691 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.38e-05/0.1779, allocations: 15.92 kB / 0.7244 GB, free: 9.676 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1779, allocations: 3.938 kB / 0.7244 GB, free: 9.672 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.671e-05/0.1779, allocations: 7.953 kB / 0.7244 GB, free: 9.664 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.1779, allocations: 4 kB / 0.7244 GB, free: 9.66 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.0001208/0.178, allocations: 151.5 kB / 0.7246 GB, free: 9.496 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.1781, allocations: 4 kB / 0.7246 GB, free: 9.492 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.756e-05/0.1781, allocations: 8 kB / 0.7246 GB, free: 9.477 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1781, allocations: 0 / 0.7246 GB, free: 9.477 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.1781, allocations: 8.062 kB / 0.7246 GB, free: 9.469 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.1781, allocations: 0 / 0.7246 GB, free: 9.469 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.1783, allocations: 152.6 kB / 0.7247 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.1783, allocations: 0 / 0.7247 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.875e-05/0.1784, allocations: 7.984 kB / 0.7247 GB, free: 9.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.1784, allocations: 0 / 0.7247 GB, free: 9.27 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.1784, allocations: 0 / 0.7247 GB, free: 9.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1784, allocations: 0 / 0.7247 GB, free: 9.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1784, allocations: 0 / 0.7247 GB, free: 9.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.1787, allocations: 257 kB / 0.725 GB, free: 8.996 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.005e-05/0.1787, allocations: 4 kB / 0.725 GB, free: 8.992 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.1788, allocations: 4 kB / 0.725 GB, free: 8.988 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.268e-05/0.1788, allocations: 7.984 kB / 0.725 GB, free: 8.98 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.179, allocations: 4 kB / 0.725 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.179, allocations: 0 / 0.725 GB, free: 8.977 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.58e-05/0.179, allocations: 99.27 kB / 0.7251 GB, free: 8.879 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.179, allocations: 0 / 0.7251 GB, free: 8.879 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003343/0.1794, allocations: 59.88 kB / 0.7251 GB, free: 8.82 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.0008861/0.1802, allocations: 0.835 MB / 0.726 GB, free: 7.953 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003603/0.1806, allocations: 234.9 kB / 0.7262 GB, free: 7.699 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1806, allocations: 32 / 0.7262 GB, free: 7.699 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.1807, allocations: 111.3 kB / 0.7263 GB, free: 7.578 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.181, allocations: 7.953 kB / 0.7263 GB, free: 7.574 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.1832, allocations: 1.756 MB / 0.728 GB, free: 5.727 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.1835, allocations: 0.6924 MB / 0.7287 GB, free: 5.008 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.847e-05/0.1835, allocations: 0 / 0.7287 GB, free: 5.008 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.11e-05/0.1835, allocations: 11.44 kB / 0.7287 GB, free: 5 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.1835, allocations: 0 / 0.7287 GB, free: 5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03129/0.2148, allocations: 2.905 MB / 0.7315 GB, free: 2.262 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.2, allocations: 11.03 kB / 0.7315 GB, free: 2.254 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 sys.exit(0), Time elapsed: 14.943264192901552] Failed to read output from testmodel.py, exit status != 0: 11.316833914024755 11.332896837 11.155702414 Calling exit ...