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.00139/0.00139, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00165/0.00165, allocations: 214.8 kB / 22.24 MB, free: 5.262 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.461/1.461, allocations: 230.6 MB / 256 MB, free: 7.812 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.9666/0.9666, allocations: 145 MB / 457.4 MB, free: 15.28 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.002187/0.002187, allocations: 65.73 kB / 0.6331 GB, free: 6.707 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1709, allocations: 87.9 MB / 0.7189 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002735/0.1737, allocations: 1.44 MB / 0.7203 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.1751, allocations: 0.7768 MB / 0.7211 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.777e-05/0.1751, allocations: 0 / 0.7211 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 6.39e-05/0.1751, allocations: 7.922 kB / 0.7211 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.515e-05/0.1752, allocations: 0 / 0.7211 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006401/0.1758, allocations: 179.5 kB / 0.7213 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.176, allocations: 51.91 kB / 0.7213 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.224e-05/0.1761, allocations: 0 / 0.7213 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.978e-05/0.1761, allocations: 19.98 kB / 0.7214 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.268e-05/0.1762, allocations: 19.92 kB / 0.7214 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.1762, allocations: 0 / 0.7214 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003757/0.1766, allocations: 215.7 kB / 0.7216 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.281e-05/0.1766, allocations: 7.984 kB / 0.7216 GB, free: 12.1 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.759e-05/0.1766, allocations: 15.88 kB / 0.7216 GB, free: 12.08 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002968/0.1769, allocations: 199.4 kB / 0.7218 GB, free: 11.89 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1769, allocations: 0 / 0.7218 GB, free: 11.89 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1769, allocations: 4 kB / 0.7218 GB, free: 11.88 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.846e-06/0.177, allocations: 0 / 0.7218 GB, free: 11.88 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.0004996/0.1775, allocations: 361.3 kB / 0.7221 GB, free: 11.49 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.1775, allocations: 12.03 kB / 0.7222 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.63e-05/0.1775, allocations: 34.75 kB / 0.7222 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/0.1776, allocations: 12.88 kB / 0.7222 GB, free: 11.42 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.1777, allocations: 114.5 kB / 0.7223 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.1777, allocations: 384 / 0.7223 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.1777, allocations: 4.375 kB / 0.7223 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.1779, allocations: 111.5 kB / 0.7224 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1779, allocations: 4 kB / 0.7224 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.1779, allocations: 0 / 0.7224 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.178, allocations: 7.938 kB / 0.7224 GB, free: 11.15 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.1781, allocations: 73.66 kB / 0.7225 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004215/0.1785, allocations: 243.9 kB / 0.7227 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.1787, allocations: 88.25 kB / 0.7228 GB, free: 10.69 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.1788, allocations: 70.61 kB / 0.7229 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.1788, allocations: 4 kB / 0.7229 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.1788, allocations: 38.48 kB / 0.7229 GB, free: 10.56 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.1788, allocations: 4 kB / 0.7229 GB, free: 10.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0004749/0.1793, allocations: 242.7 kB / 0.7232 GB, free: 10.29 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.1794, allocations: 77.11 kB / 0.7232 GB, free: 10.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.1795, allocations: 126.2 kB / 0.7234 GB, free: 10.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.1795, allocations: 25.7 kB / 0.7234 GB, free: 10.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.613e-05/0.1796, allocations: 88.12 kB / 0.7235 GB, free: 9.945 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.1796, allocations: 11.91 kB / 0.7235 GB, free: 9.934 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.567e-05/0.1796, allocations: 17.72 kB / 0.7235 GB, free: 9.91 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.1798, allocations: 326.8 kB / 0.7238 GB, free: 9.582 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.1799, allocations: 123.4 kB / 0.7239 GB, free: 9.449 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.1801, allocations: 111.4 kB / 0.724 GB, free: 9.328 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002509/0.1803, allocations: 201.8 kB / 0.7242 GB, free: 9.109 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1803, allocations: 0 / 0.7242 GB, free: 9.109 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003601/0.1807, allocations: 280.4 kB / 0.7245 GB, free: 8.805 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.04e-05/0.1808, allocations: 63.41 kB / 0.7245 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1808, allocations: 3.938 kB / 0.7245 GB, free: 8.727 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1808, allocations: 0 / 0.7245 GB, free: 8.727 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.387e-05/0.1808, allocations: 7.984 kB / 0.7246 GB, free: 8.719 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1808, allocations: 4 kB / 0.7246 GB, free: 8.715 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.05e-05/0.1809, allocations: 11.89 kB / 0.7246 GB, free: 8.703 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.1809, allocations: 4 kB / 0.7246 GB, free: 8.699 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.0001354/0.181, allocations: 155.4 kB / 0.7247 GB, free: 8.531 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.1811, allocations: 0 / 0.7247 GB, free: 8.531 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.493e-05/0.1811, allocations: 8 kB / 0.7247 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1811, allocations: 3.938 kB / 0.7247 GB, free: 8.512 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1811, allocations: 0 / 0.7247 GB, free: 8.512 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.1811, allocations: 64 / 0.7247 GB, free: 8.512 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.1813, allocations: 144.7 kB / 0.7249 GB, free: 8.328 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1813, allocations: 8 kB / 0.7249 GB, free: 8.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.806e-05/0.1813, allocations: 0 / 0.7249 GB, free: 8.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1813, allocations: 0 / 0.7249 GB, free: 8.32 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.1813, allocations: 4 kB / 0.7249 GB, free: 8.316 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.1813, allocations: 3.984 kB / 0.7249 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1813, allocations: 0 / 0.7249 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.1817, allocations: 278.8 kB / 0.7252 GB, free: 8.012 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.143e-05/0.1817, allocations: 8 kB / 0.7252 GB, free: 8.004 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.1817, allocations: 240 / 0.7252 GB, free: 8.004 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.004e-05/0.1818, allocations: 12.02 kB / 0.7252 GB, free: 7.992 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.1819, allocations: 8 kB / 0.7252 GB, free: 7.984 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.1819, allocations: 3.984 kB / 0.7252 GB, free: 7.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.793e-05/0.182, allocations: 99.31 kB / 0.7253 GB, free: 7.883 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.182, allocations: 0 / 0.7253 GB, free: 7.883 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003256/0.1823, allocations: 67.81 kB / 0.7253 GB, free: 7.816 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.0007928/0.1831, allocations: 0.8623 MB / 0.7262 GB, free: 6.918 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004208/0.1835, allocations: 327.8 kB / 0.7265 GB, free: 6.555 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1835, allocations: 4.031 kB / 0.7265 GB, free: 6.551 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.1837, allocations: 133 kB / 0.7266 GB, free: 6.402 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.1839, allocations: 8 kB / 0.7266 GB, free: 6.395 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.1861, allocations: 2.029 MB / 0.7286 GB, free: 4.219 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.081e-05/0.1861, allocations: 71.34 kB / 0.7287 GB, free: 4.129 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.92e-05/0.1862, allocations: 3.984 kB / 0.7287 GB, free: 4.125 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.685e-05/0.1862, allocations: 19.5 kB / 0.7287 GB, free: 4.105 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.1862, allocations: 0 / 0.7287 GB, free: 4.105 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0307/0.2169, allocations: 3.333 MB / 0.732 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.41, allocations: 0 / 0.732 GB, free: 0.9492 MB / 0.545 GB " [Timeout remaining time 648] (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: 15.106300955172628] Failed to read output from testmodel.py, exit status != 0: 11.519438489340246 11.543813842 11.362381913 Calling exit ...