Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001496/0.001496, allocations: 104.8 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.001485/0.001485, 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.306/1.306, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002391/0.002391, allocations: 292.2 kB / 303 MB, free: 9.488 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.119/1.119, allocations: 180.9 MB / 0.5261 GB, free: 14.74 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002598/0.002598, allocations: 100.8 kB / 0.7248 GB, free: 40.36 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1505, allocations: 94.16 MB / 0.8167 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002532/0.1531, allocations: 1.425 MB / 0.8181 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.1543, allocations: 0.8013 MB / 0.8189 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.256e-05/0.1544, allocations: 3.938 kB / 0.8189 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.713e-05/0.1544, allocations: 4 kB / 0.8189 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.636e-05/0.1545, allocations: 7.938 kB / 0.8189 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005878/0.1551, allocations: 160.7 kB / 0.8191 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.1552, allocations: 51.91 kB / 0.8191 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.822e-05/0.1552, allocations: 3.984 kB / 0.8191 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.423e-05/0.1553, allocations: 15.98 kB / 0.8191 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.401e-05/0.1553, allocations: 19.92 kB / 0.8192 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.1553, allocations: 4 kB / 0.8192 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000329/0.1557, allocations: 207.7 kB / 0.8194 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.114e-05/0.1557, allocations: 11.92 kB / 0.8194 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.697e-05/0.1558, allocations: 27.86 kB / 0.8194 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.156, allocations: 187.8 kB / 0.8196 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.156, allocations: 0 / 0.8196 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.873e-06/0.156, allocations: 0 / 0.8196 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.156, allocations: 0 / 0.8196 GB, free: 2.527 MB / 0.5606 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.0005197/0.1566, allocations: 438.4 kB / 0.82 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1566, allocations: 8.031 kB / 0.82 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.556e-05/0.1566, allocations: 38.69 kB / 0.82 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.732e-05/0.1567, allocations: 4.891 kB / 0.82 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.1568, allocations: 172.3 kB / 0.8202 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.1568, allocations: 4.375 kB / 0.8202 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.1568, allocations: 384 / 0.8202 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.157, allocations: 77.8 kB / 0.8203 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.157, allocations: 3.938 kB / 0.8203 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-06/0.157, allocations: 4 kB / 0.8203 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.157, allocations: 4 kB / 0.8203 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.1571, allocations: 47.95 kB / 0.8203 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003873/0.1575, allocations: 284.8 kB / 0.8206 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.1576, allocations: 54.55 kB / 0.8207 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.005e-05/0.1577, allocations: 44.91 kB / 0.8207 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.1577, allocations: 4 kB / 0.8207 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.1578, allocations: 38.5 kB / 0.8208 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1578, allocations: 0 / 0.8208 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0003806/0.1581, allocations: 187.2 kB / 0.8209 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.1582, allocations: 85.11 kB / 0.821 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.1583, allocations: 121.8 kB / 0.8211 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.1583, allocations: 25.7 kB / 0.8212 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.19e-05/0.1584, allocations: 92.17 kB / 0.8212 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.266e-05/0.1584, allocations: 3.953 kB / 0.8212 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/0.1584, allocations: 29.7 kB / 0.8213 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1586, allocations: 314.8 kB / 0.8216 GB, free: 240 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.903e-05/0.1587, allocations: 59.97 kB / 0.8216 GB, free: 180 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.155e-05/0.1588, allocations: 59.95 kB / 0.8217 GB, free: 120 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/0.159, allocations: 193.9 kB / 0.8219 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.159, allocations: 4 kB / 0.8219 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002941/0.1593, allocations: 220.9 kB / 0.8221 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.535e-05/0.1593, allocations: 63.39 kB / 0.8221 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1594, allocations: 0 / 0.8221 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1594, allocations: 0 / 0.8221 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.246e-05/0.1594, allocations: 4 kB / 0.8222 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.1594, allocations: 0 / 0.8222 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.203e-05/0.1595, allocations: 12.05 kB / 0.8222 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.1595, allocations: 4 kB / 0.8222 GB, free: 15.57 MB / 0.5762 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.0001091/0.1596, allocations: 151.5 kB / 0.8223 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.1596, allocations: 7.938 kB / 0.8223 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.331e-05/0.1596, allocations: 15.84 kB / 0.8223 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.1596, allocations: 0 / 0.8223 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.1597, allocations: 0 / 0.8223 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-06/0.1597, allocations: 0 / 0.8223 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.1598, allocations: 177.5 kB / 0.8225 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.1598, allocations: 0 / 0.8225 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.655e-05/0.1599, allocations: 4 kB / 0.8225 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.1599, allocations: 0 / 0.8225 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.1599, allocations: 12 kB / 0.8225 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.1599, allocations: 0 / 0.8225 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1599, allocations: 0 / 0.8225 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.1602, allocations: 253 kB / 0.8228 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.1602, allocations: 81.11 kB / 0.8228 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.1602, allocations: 0 / 0.8228 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.358e-05/0.1603, allocations: 4 kB / 0.8228 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.258e-05/0.1604, allocations: 16.02 kB / 0.8229 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.1604, allocations: 0 / 0.8229 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.1e-05/0.1604, allocations: 95.7 kB / 0.8229 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1604, allocations: 3.938 kB / 0.823 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002901/0.1607, allocations: 59.92 kB / 0.823 GB, free: 14.6 MB / 0.5762 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.000716/0.1614, allocations: 0.831 MB / 0.8238 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003258/0.1618, allocations: 238.9 kB / 0.824 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1618, allocations: 0 / 0.824 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.1619, allocations: 99.38 kB / 0.8241 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.1621, allocations: 4.938 kB / 0.8241 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.1639, allocations: 1.755 MB / 0.8259 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.1642, allocations: 0.6923 MB / 0.8265 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.451e-05/0.1642, allocations: 0 / 0.8265 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.1643, allocations: 19.42 kB / 0.8266 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.1643, allocations: 0 / 0.8266 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.025/0.1893, allocations: 2.833 MB / 0.8293 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.579/7.769, allocations: 17.45 kB / 0.8293 GB, free: 8.125 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.532262166030705] Failed to read output from testmodel.py, exit status != 0: 7.8321228697896 7.845336678 7.686656558 Calling exit ...