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.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.0008402/0.0008402, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008063/0.0008063, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8525/0.8525, allocations: 177.2 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001448/0.001448, allocations: 234.2 kB / 260.2 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6301/0.6301, allocations: 138.4 MB / 455.1 MB, free: 1.613 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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: translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.6476 GB, free: 28.78 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/1.974e-05, allocations: 2.281 kB / 0.6476 GB, free: 28.77 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001483/0.001502, allocations: 1.435 MB / 0.649 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0008506/0.002353, allocations: 0.7903 MB / 0.6497 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.769e-05/0.002381, allocations: 0 / 0.6497 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 6.305e-05/0.002444, allocations: 0 / 0.6497 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.406e-05/0.002488, allocations: 5.781 kB / 0.6497 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004943/0.002982, allocations: 182 kB / 0.6499 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 9.307e-05/0.003075, allocations: 41.91 kB / 0.6499 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 7.253e-05/0.003148, allocations: 2.469 kB / 0.6499 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.255e-05/0.00319, allocations: 24.52 kB / 0.65 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.267e-05/0.003233, allocations: 17.88 kB / 0.65 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.003248, allocations: 8.516 kB / 0.65 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002263/0.003474, allocations: 209 kB / 0.6502 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.396e-05/0.003518, allocations: 16.2 kB / 0.6502 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.003546, allocations: 13.08 kB / 0.6502 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.003769, allocations: 232.3 kB / 0.6504 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.00377, allocations: 4 kB / 0.6504 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.052e-06/0.003771, allocations: 0 / 0.6504 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.003775, allocations: 0 / 0.6504 GB, free: 26.61 MB / 0.5105 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.0003217/0.004097, allocations: 361.3 kB / 0.6508 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.004129, allocations: 10.09 kB / 0.6508 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.004161, allocations: 3.031 kB / 0.6508 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.471e-05/0.004216, allocations: 114.3 kB / 0.6509 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.004225, allocations: 5.594 kB / 0.6509 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.004236, allocations: 2.938 kB / 0.6509 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.004374, allocations: 111.2 kB / 0.651 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.00438, allocations: 4.188 kB / 0.651 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.004389, allocations: 384 / 0.651 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.004394, allocations: 9.469 kB / 0.651 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.172e-05/0.004465, allocations: 75.22 kB / 0.6511 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002396/0.004705, allocations: 215 kB / 0.6513 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.282e-05/0.004778, allocations: 87.41 kB / 0.6514 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.157e-05/0.004829, allocations: 73.2 kB / 0.6515 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.004842, allocations: 4 kB / 0.6515 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/0.004856, allocations: 40.47 kB / 0.6515 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.004857, allocations: 4 kB / 0.6515 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0002447/0.005102, allocations: 242.9 kB / 0.6518 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.17e-05/0.005124, allocations: 83.2 kB / 0.6518 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.567e-05/0.005179, allocations: 131.5 kB / 0.652 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.312e-06/0.005186, allocations: 27.02 kB / 0.652 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.469e-05/0.00521, allocations: 89.5 kB / 0.6521 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.268e-05/0.005223, allocations: 10.56 kB / 0.6521 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.005253, allocations: 24.48 kB / 0.6521 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.542e-05/0.005278, allocations: 317.6 kB / 0.6524 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.717e-05/0.005345, allocations: 120 kB / 0.6525 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.32e-05/0.005409, allocations: 119.4 kB / 0.6526 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.005524, allocations: 195.8 kB / 0.6528 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.005526, allocations: 0 / 0.6528 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001707/0.005697, allocations: 278 kB / 0.6531 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.005724, allocations: 66.48 kB / 0.6531 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.005729, allocations: 5.344 kB / 0.6532 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.00574, allocations: 0 / 0.6532 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.363e-05/0.005783, allocations: 2.469 kB / 0.6532 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.005788, allocations: 9.328 kB / 0.6532 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.309e-05/0.005811, allocations: 16.06 kB / 0.6532 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.068e-06/0.00582, allocations: 2.5 kB / 0.6532 GB, free: 24.05 MB / 0.5105 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 4.699e-05/0.005867, allocations: 143.9 kB / 0.6533 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.384e-05/0.005881, allocations: 6.781 kB / 0.6533 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.615e-05/0.005897, allocations: 13.39 kB / 0.6533 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.005899, allocations: 1.156 kB / 0.6533 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.005903, allocations: 0 / 0.6533 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.005905, allocations: 0 / 0.6533 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.887e-05/0.005974, allocations: 110.2 kB / 0.6534 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.005975, allocations: 5.656 kB / 0.6534 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.221e-05/0.005987, allocations: 5.797 kB / 0.6535 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.005988, allocations: 5.719 kB / 0.6535 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.005996, allocations: 5.656 kB / 0.6535 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.005996, allocations: 0 / 0.6535 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.005997, allocations: 0 / 0.6535 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.006132, allocations: 282.6 kB / 0.6537 GB, free: 23.49 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-06/0.006138, allocations: 6.297 kB / 0.6537 GB, free: 23.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.006149, allocations: 5.281 kB / 0.6537 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.438e-05/0.006184, allocations: 8.312 kB / 0.6538 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.47e-05/0.006248, allocations: 11.56 kB / 0.6538 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.006252, allocations: 0.9375 kB / 0.6538 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.428e-05/0.006277, allocations: 95.39 kB / 0.6539 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.006277, allocations: 3.938 kB / 0.6539 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002074/0.006484, allocations: 65.3 kB / 0.6539 GB, free: 23.37 MB / 0.5105 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.0001662/0.00665, allocations: 166 kB / 0.6541 GB, free: 23.26 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002012/0.006851, allocations: 320 kB / 0.6544 GB, free: 22.98 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.006853, allocations: 4 kB / 0.6544 GB, free: 22.98 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.85e-05/0.006922, allocations: 136.4 kB / 0.6545 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.007066, allocations: 10.75 kB / 0.6545 GB, free: 22.85 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002669/0.007333, allocations: 229.6 kB / 0.6547 GB, free: 22.65 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.815e-05/0.007371, allocations: 74.92 kB / 0.6548 GB, free: 22.57 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.419e-05/0.007386, allocations: 9.812 kB / 0.6548 GB, free: 22.56 MB / 0.5105 GB Notification: Performance of SimCode: time 4.51e-07/0.007386, allocations: 0 / 0.6548 GB, free: 22.56 MB / 0.5105 GB Notification: Performance of Templates: time 0.002076/0.009462, allocations: 1.502 MB / 0.6563 GB, free: 21.81 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.112943567335606] Failed to read output from testmodel.py, exit status != 0: 0.013841609470546246 0.019628401 0.014615948 Calling exit ...