Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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: translateModel(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 107.4 kB / 17.02 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 192.1 kB / 17.97 MB, free: 5.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6941/0.6941, allocations: 115.1 MB / 406.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.89 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.319, allocations: 76.14 MB / 0.5576 GB, free: 36.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002254/0.3213, allocations: 1.41 MB / 0.559 GB, free: 35.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009985/0.3223, allocations: 0.7816 MB / 0.5597 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.804e-05/0.3224, allocations: 1.125 kB / 0.5597 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.254e-05/0.3224, allocations: 1.172 kB / 0.5597 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.761e-05/0.3225, allocations: 5.25 kB / 0.5597 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005577/0.323, allocations: 168.6 kB / 0.5599 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.888e-05/0.3231, allocations: 49.52 kB / 0.5599 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.752e-05/0.3232, allocations: 7.125 kB / 0.5599 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.471e-05/0.3233, allocations: 26.14 kB / 0.56 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.321e-05/0.3233, allocations: 18 kB / 0.56 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.3233, allocations: 3.875 kB / 0.56 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002956/0.3236, allocations: 199.3 kB / 0.5602 GB, free: 34.99 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.841e-05/0.3237, allocations: 6.906 kB / 0.5602 GB, free: 34.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.307e-05/0.3237, allocations: 25.28 kB / 0.5602 GB, free: 34.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002547/0.324, allocations: 186.9 kB / 0.5604 GB, free: 34.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.324, allocations: 0.5625 kB / 0.5604 GB, free: 34.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.324, allocations: 1.469 kB / 0.5604 GB, free: 34.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.324, allocations: 3.938 kB / 0.5604 GB, free: 34.92 MB / 446.1 MB 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.0003734/0.3244, allocations: 437.1 kB / 0.5608 GB, free: 34.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.3244, allocations: 10.48 kB / 0.5608 GB, free: 34.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/0.3244, allocations: 11.19 kB / 0.5608 GB, free: 34.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.134e-05/0.3245, allocations: 172.3 kB / 0.561 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.3245, allocations: 2.406 kB / 0.561 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.3246, allocations: 3.25 kB / 0.561 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.3247, allocations: 80.88 kB / 0.5611 GB, free: 34.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.3247, allocations: 0 / 0.5611 GB, free: 34.22 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.3248, allocations: 5.062 kB / 0.5611 GB, free: 34.22 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3248, allocations: 1.062 kB / 0.5611 GB, free: 34.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.3249, allocations: 46.47 kB / 0.5611 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002948/0.3252, allocations: 282.5 kB / 0.5614 GB, free: 33.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.3253, allocations: 60.2 kB / 0.5615 GB, free: 33.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.558e-05/0.3254, allocations: 45.16 kB / 0.5615 GB, free: 33.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.3254, allocations: 0 / 0.5615 GB, free: 33.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.494e-05/0.3254, allocations: 32.78 kB / 0.5615 GB, free: 33.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.3254, allocations: 0 / 0.5615 GB, free: 33.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003309/0.3257, allocations: 193.4 kB / 0.5617 GB, free: 33.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.3258, allocations: 79.3 kB / 0.5618 GB, free: 33.65 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.476e-05/0.3259, allocations: 122.6 kB / 0.5619 GB, free: 33.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.3259, allocations: 27.05 kB / 0.5619 GB, free: 33.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.798e-05/0.3259, allocations: 88.67 kB / 0.562 GB, free: 33.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.235e-05/0.3259, allocations: 6.641 kB / 0.562 GB, free: 33.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.326, allocations: 23.34 kB / 0.562 GB, free: 33.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.165e-05/0.326, allocations: 322.8 kB / 0.5623 GB, free: 33.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.397e-05/0.3261, allocations: 55.47 kB / 0.5624 GB, free: 33.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.373e-05/0.3262, allocations: 58.38 kB / 0.5625 GB, free: 33.06 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.3264, allocations: 201.1 kB / 0.5626 GB, free: 32.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3264, allocations: 1.75 kB / 0.5627 GB, free: 32.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002329/0.3266, allocations: 222.3 kB / 0.5629 GB, free: 32.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/0.3267, allocations: 61.95 kB / 0.5629 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.3267, allocations: 2.156 kB / 0.5629 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.3267, allocations: 0.6562 kB / 0.5629 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.939e-05/0.3268, allocations: 4.281 kB / 0.5629 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3268, allocations: 2.25 kB / 0.5629 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.207e-05/0.3268, allocations: 10.67 kB / 0.5629 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.3268, allocations: 3.188 kB / 0.5629 GB, free: 32.73 MB / 446.1 MB 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 6.345e-05/0.3269, allocations: 150.6 kB / 0.5631 GB, free: 32.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.3269, allocations: 8.062 kB / 0.5631 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.662e-05/0.327, allocations: 10.17 kB / 0.5631 GB, free: 32.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.327, allocations: 2.203 kB / 0.5631 GB, free: 32.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.327, allocations: 0 / 0.5631 GB, free: 32.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.327, allocations: 1.125 kB / 0.5631 GB, free: 32.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.3271, allocations: 174.2 kB / 0.5633 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3271, allocations: 0.7969 kB / 0.5633 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.519e-05/0.3271, allocations: 5.141 kB / 0.5633 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.3272, allocations: 0 / 0.5633 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.3272, allocations: 3.609 kB / 0.5633 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3272, allocations: 1.156 kB / 0.5633 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3272, allocations: 0 / 0.5633 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.3274, allocations: 253.9 kB / 0.5635 GB, free: 32.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.878e-05/0.3274, allocations: 84.72 kB / 0.5636 GB, free: 32.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.3274, allocations: 2.094 kB / 0.5636 GB, free: 32.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.584e-05/0.3275, allocations: 11.56 kB / 0.5636 GB, free: 32.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.912e-05/0.3276, allocations: 5.812 kB / 0.5636 GB, free: 32.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.3276, allocations: 1.562 kB / 0.5636 GB, free: 32.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.791e-05/0.3277, allocations: 97.41 kB / 0.5637 GB, free: 31.99 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3277, allocations: 5.75 kB / 0.5637 GB, free: 31.99 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003069/0.328, allocations: 58.31 kB / 0.5638 GB, free: 31.98 MB / 446.1 MB 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.0002155/0.3282, allocations: 147.5 kB / 0.5639 GB, free: 31.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002734/0.3285, allocations: 243.7 kB / 0.5642 GB, free: 31.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3285, allocations: 0 / 0.5642 GB, free: 31.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.3286, allocations: 104.1 kB / 0.5643 GB, free: 31.65 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.3288, allocations: 9.312 kB / 0.5643 GB, free: 31.65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003136/0.3291, allocations: 181.3 kB / 0.5644 GB, free: 31.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.3293, allocations: 0.6888 MB / 0.5651 GB, free: 30.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.664e-05/0.3293, allocations: 1.031 kB / 0.5651 GB, free: 30.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.208e-05/0.3293, allocations: 9.688 kB / 0.5651 GB, free: 30.81 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3293, allocations: 0 / 0.5651 GB, free: 30.81 MB / 446.1 MB Notification: Performance of Templates: time 0.004167/0.3335, allocations: 1.76 MB / 0.5668 GB, free: 30.75 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)