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.001289/0.001289, allocations: 117.7 kB / 17.13 MB, free: 5.758 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.001303/0.001303, allocations: 194.1 kB / 20.08 MB, free: 2.848 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.435/1.435, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] 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.002496/0.002496, allocations: 287.6 kB / 303.6 MB, free: 3.66 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.07/1.07, allocations: 180.9 MB / 0.5268 GB, free: 2.68 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: 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 0.002808/0.002808, allocations: 103.8 kB / 0.7259 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6177/0.6205, allocations: 94.16 MB / 0.8179 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002361/0.6228, allocations: 1.417 MB / 0.8193 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.624, allocations: 0.8015 MB / 0.82 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.04e-05/0.624, allocations: 0 / 0.82 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.844e-05/0.6241, allocations: 0 / 0.82 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.961e-05/0.6241, allocations: 9.219 kB / 0.8201 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006042/0.6247, allocations: 169.7 kB / 0.8202 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.6248, allocations: 44.44 kB / 0.8203 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.855e-05/0.6249, allocations: 6.031 kB / 0.8203 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.742e-05/0.625, allocations: 21.39 kB / 0.8203 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.058e-05/0.625, allocations: 20.73 kB / 0.8203 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.625, allocations: 3.406 kB / 0.8203 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003464/0.6254, allocations: 207.8 kB / 0.8205 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.991e-05/0.6254, allocations: 20.08 kB / 0.8205 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.568e-05/0.6255, allocations: 12.94 kB / 0.8205 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.6257, allocations: 193.9 kB / 0.8207 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.6257, allocations: 0.875 kB / 0.8207 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6257, allocations: 0 / 0.8207 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.6258, allocations: 1.156 kB / 0.8207 GB, free: 5.68 MB / 0.5762 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.00044/0.6262, allocations: 432.7 kB / 0.8211 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.6262, allocations: 13.44 kB / 0.8211 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.007e-05/0.6263, allocations: 10.98 kB / 0.8212 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.698e-05/0.6264, allocations: 167.7 kB / 0.8213 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.6264, allocations: 5.594 kB / 0.8213 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.6264, allocations: 5.812 kB / 0.8213 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.6266, allocations: 77.64 kB / 0.8214 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.6266, allocations: 0 / 0.8214 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.6266, allocations: 1.344 kB / 0.8214 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.6266, allocations: 0 / 0.8214 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.6267, allocations: 46.95 kB / 0.8214 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003279/0.627, allocations: 280.2 kB / 0.8217 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.6271, allocations: 60.41 kB / 0.8218 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.803e-05/0.6272, allocations: 44.28 kB / 0.8218 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.6272, allocations: 5.5 kB / 0.8218 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.6273, allocations: 31.47 kB / 0.8219 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.6273, allocations: 4 kB / 0.8219 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0003879/0.6277, allocations: 183.1 kB / 0.822 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.6277, allocations: 83.47 kB / 0.8221 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.296e-05/0.6278, allocations: 134.1 kB / 0.8222 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.6278, allocations: 26.73 kB / 0.8223 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.284e-05/0.6278, allocations: 91.8 kB / 0.8224 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.6278, allocations: 6.75 kB / 0.8224 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.6279, allocations: 26.14 kB / 0.8224 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.836e-05/0.6279, allocations: 319.5 kB / 0.8227 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.628, allocations: 52.58 kB / 0.8227 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.553e-05/0.6281, allocations: 59.03 kB / 0.8228 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.6283, allocations: 198.6 kB / 0.823 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.6283, allocations: 0 / 0.823 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002379/0.6286, allocations: 218.8 kB / 0.8232 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.6286, allocations: 70.62 kB / 0.8233 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.6286, allocations: 0 / 0.8233 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.6286, allocations: 0 / 0.8233 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.432e-05/0.6287, allocations: 3.953 kB / 0.8233 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.6287, allocations: 0.5625 kB / 0.8233 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.512e-05/0.6287, allocations: 10.03 kB / 0.8233 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.6287, allocations: 3.391 kB / 0.8233 GB, free: 3.457 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 7.191e-05/0.6288, allocations: 150.8 kB / 0.8234 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.6288, allocations: 6.828 kB / 0.8234 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.215e-05/0.6289, allocations: 13.03 kB / 0.8234 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.6289, allocations: 3.031 kB / 0.8234 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.6289, allocations: 0 / 0.8234 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.6289, allocations: 0.5156 kB / 0.8234 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.629, allocations: 177.1 kB / 0.8236 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.629, allocations: 0.5156 kB / 0.8236 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.706e-05/0.629, allocations: 3.641 kB / 0.8236 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.629, allocations: 1.125 kB / 0.8236 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.629, allocations: 3.562 kB / 0.8236 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.629, allocations: 0.6094 kB / 0.8236 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.629, allocations: 4 kB / 0.8236 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.6293, allocations: 250.5 kB / 0.8239 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.016e-05/0.6293, allocations: 88.36 kB / 0.8239 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.6293, allocations: 0.7969 kB / 0.8239 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.758e-05/0.6294, allocations: 11.08 kB / 0.824 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.6295, allocations: 4.75 kB / 0.824 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.6295, allocations: 6.547 kB / 0.824 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.02e-05/0.6295, allocations: 99.11 kB / 0.8241 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.6295, allocations: 0 / 0.8241 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003028/0.6298, allocations: 61.09 kB / 0.8241 GB, free: 2.684 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.000229/0.63, allocations: 145.4 kB / 0.8243 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002921/0.6303, allocations: 230.1 kB / 0.8245 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.6303, allocations: 1.438 kB / 0.8245 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.6304, allocations: 112 kB / 0.8246 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.6306, allocations: 8.797 kB / 0.8246 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000328/0.631, allocations: 206.8 kB / 0.8248 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.6311, allocations: 0.6887 MB / 0.8255 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.441e-05/0.6311, allocations: 7.438 kB / 0.8255 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.6311, allocations: 0 / 0.8255 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of Templates: time 0.00366/0.6348, allocations: 1.519 MB / 0.827 GB, free: 1.348 MB / 0.5762 GB " [Timeout remaining time 659] 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: 8.868494640104473] Failed to read output from testmodel.py, exit status != 0: 0.6420668719802052 0.654826774 0.026269245 Calling exit ...