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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 106.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.6.0-master/package.mo): time 0.9123/0.9123, allocations: 145.2 MB / 447.9 MB, free: 6.344 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.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 67.47 kB / 0.62 GB, free: 1.352 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1907, allocations: 86.64 MB / 0.7046 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.003146/0.1939, allocations: 1.425 MB / 0.706 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001504/0.1954, allocations: 0.7839 MB / 0.7068 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.03e-05/0.1954, allocations: 4 kB / 0.7068 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.032e-05/0.1955, allocations: 0 / 0.7068 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.266e-05/0.1955, allocations: 3.938 kB / 0.7068 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007494/0.1963, allocations: 170.6 kB / 0.7069 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.1964, allocations: 47.84 kB / 0.707 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.986e-05/0.1965, allocations: 11.92 kB / 0.707 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.395e-05/0.1965, allocations: 19.98 kB / 0.707 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.085e-05/0.1966, allocations: 23.91 kB / 0.707 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.1966, allocations: 4 kB / 0.707 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003994/0.197, allocations: 203.7 kB / 0.7072 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.471e-05/0.1971, allocations: 11.94 kB / 0.7072 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.503e-05/0.1971, allocations: 15.92 kB / 0.7073 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003736/0.1975, allocations: 195.5 kB / 0.7074 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1975, allocations: 3.938 kB / 0.7074 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1975, allocations: 0 / 0.7074 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.1975, allocations: 0 / 0.7074 GB, free: 7.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.0006157/0.1981, allocations: 442.4 kB / 0.7079 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.1982, allocations: 8.031 kB / 0.7079 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.478e-05/0.1982, allocations: 30.75 kB / 0.7079 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.1982, allocations: 8.891 kB / 0.7079 GB, free: 7.188 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.1984, allocations: 176.3 kB / 0.7081 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.1984, allocations: 384 / 0.7081 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.1984, allocations: 4.375 kB / 0.7081 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.1986, allocations: 77.78 kB / 0.7082 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.1986, allocations: 0 / 0.7082 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.1986, allocations: 8 kB / 0.7082 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1986, allocations: 0 / 0.7082 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.1988, allocations: 51.91 kB / 0.7082 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005087/0.1993, allocations: 276.8 kB / 0.7085 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.1994, allocations: 62.55 kB / 0.7085 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.911e-05/0.1995, allocations: 44.91 kB / 0.7086 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.1995, allocations: 4 kB / 0.7086 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.1995, allocations: 34.56 kB / 0.7086 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.1995, allocations: 0 / 0.7086 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004182/0.2, allocations: 187.2 kB / 0.7088 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/0.2, allocations: 81.09 kB / 0.7089 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.2001, allocations: 129.7 kB / 0.709 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.855e-05/0.2002, allocations: 25.7 kB / 0.709 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.369e-05/0.2002, allocations: 92.16 kB / 0.7091 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.2003, allocations: 11.95 kB / 0.7091 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.2003, allocations: 17.72 kB / 0.7091 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.2004, allocations: 322.8 kB / 0.7094 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.2006, allocations: 55.97 kB / 0.7095 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.2007, allocations: 59.95 kB / 0.7096 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002385/0.2009, allocations: 189.9 kB / 0.7097 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2009, allocations: 4 kB / 0.7097 GB, free: 5.109 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004435/0.2013, allocations: 220.9 kB / 0.71 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.206e-05/0.2014, allocations: 59.41 kB / 0.71 GB, free: 4.805 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2014, allocations: 0 / 0.71 GB, free: 4.805 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.2014, allocations: 7.984 kB / 0.71 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.508e-05/0.2015, allocations: 0 / 0.71 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.2015, allocations: 0 / 0.71 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.66e-05/0.2015, allocations: 11.94 kB / 0.71 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.2015, allocations: 4 kB / 0.71 GB, free: 4.781 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.0001596/0.2017, allocations: 155.5 kB / 0.7102 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/0.2017, allocations: 11.89 kB / 0.7102 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.128e-05/0.2018, allocations: 3.906 kB / 0.7102 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2018, allocations: 0 / 0.7102 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.2018, allocations: 7.984 kB / 0.7102 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2018, allocations: 0 / 0.7102 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.202, allocations: 173.6 kB / 0.7104 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.202, allocations: 4.219 kB / 0.7104 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.423e-05/0.202, allocations: 8.062 kB / 0.7104 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.202, allocations: 4 kB / 0.7104 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.202, allocations: 0 / 0.7104 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.202, allocations: 3.938 kB / 0.7104 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.202, allocations: 11.92 kB / 0.7104 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/0.2023, allocations: 245.1 kB / 0.7106 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.056e-05/0.2024, allocations: 81.06 kB / 0.7107 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.2024, allocations: 7.984 kB / 0.7107 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.657e-05/0.2025, allocations: 8.031 kB / 0.7107 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.2026, allocations: 0 / 0.7107 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.2026, allocations: 7.984 kB / 0.7107 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.901e-05/0.2027, allocations: 99.27 kB / 0.7108 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2027, allocations: 0 / 0.7108 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003351/0.203, allocations: 55.88 kB / 0.7109 GB, free: 3.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.0008268/0.2038, allocations: 0.8389 MB / 0.7117 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003471/0.2042, allocations: 230.7 kB / 0.7119 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2042, allocations: 0 / 0.7119 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.2044, allocations: 99.38 kB / 0.712 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.2047, allocations: 4 kB / 0.712 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.2068, allocations: 1.756 MB / 0.7137 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.2071, allocations: 0.6885 MB / 0.7144 GB, free: 4 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.811e-05/0.2071, allocations: 3.938 kB / 0.7144 GB, free: 0 / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.258e-05/0.2072, allocations: 15.52 kB / 0.7144 GB, free: 15.98 MB / 0.545 GB Notification: Performance of SimCode: time 5.81e-07/0.2072, allocations: 0 / 0.7144 GB, free: 15.98 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02768/0.2348, allocations: 2.864 MB / 0.7172 GB, free: 13.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.27/8.505, allocations: 10.95 kB / 0.7172 GB, free: 13.29 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.155031690374017] Failed to read output from testmodel.py, exit status != 0: 8.575338933151215 8.594636353 8.393454409 Calling exit ...