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.001408/0.001408, allocations: 102.9 kB / 16.27 MB, free: 5.93 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.001375/0.001375, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.282/1.282, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7423/0.7423, allocations: 126.4 MB / 417.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 71.86 kB / 0.4954 GB, free: 3.016 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3097, allocations: 78.77 MB / 0.5723 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002185/0.3119, allocations: 1.404 MB / 0.5736 GB, free: 30.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009896/0.3129, allocations: 0.7782 MB / 0.5744 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.356e-05/0.313, allocations: 0.9688 kB / 0.5744 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.964e-05/0.313, allocations: 4.688 kB / 0.5744 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.692e-05/0.3131, allocations: 7.297 kB / 0.5744 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005426/0.3136, allocations: 174.6 kB / 0.5746 GB, free: 29.65 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.892e-05/0.3137, allocations: 59.25 kB / 0.5746 GB, free: 29.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.755e-05/0.3138, allocations: 6.406 kB / 0.5746 GB, free: 29.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.159e-05/0.3138, allocations: 14.02 kB / 0.5747 GB, free: 29.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.309e-05/0.3139, allocations: 19.78 kB / 0.5747 GB, free: 29.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.3139, allocations: 2.75 kB / 0.5747 GB, free: 29.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002921/0.3142, allocations: 200.9 kB / 0.5749 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.742e-05/0.3142, allocations: 10.19 kB / 0.5749 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.134e-05/0.3143, allocations: 18.83 kB / 0.5749 GB, free: 29.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002562/0.3145, allocations: 192 kB / 0.5751 GB, free: 29.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.3146, allocations: 0 / 0.5751 GB, free: 29.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.3146, allocations: 3.938 kB / 0.5751 GB, free: 29.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.3146, allocations: 2.375 kB / 0.5751 GB, free: 29.48 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.000347/0.3149, allocations: 431 kB / 0.5755 GB, free: 29.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.315, allocations: 10.28 kB / 0.5755 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.315, allocations: 3.844 kB / 0.5755 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.609e-05/0.3151, allocations: 176.8 kB / 0.5757 GB, free: 28.83 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.3151, allocations: 6.562 kB / 0.5757 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.3151, allocations: 6.969 kB / 0.5757 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.3153, allocations: 73.52 kB / 0.5758 GB, free: 28.78 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.3153, allocations: 0 / 0.5758 GB, free: 28.78 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.3153, allocations: 2.469 kB / 0.5758 GB, free: 28.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.3153, allocations: 1.062 kB / 0.5758 GB, free: 28.78 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.3154, allocations: 46.66 kB / 0.5758 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00029/0.3157, allocations: 280.1 kB / 0.5761 GB, free: 28.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.3158, allocations: 60.77 kB / 0.5761 GB, free: 28.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.981e-05/0.3159, allocations: 46.53 kB / 0.5762 GB, free: 28.44 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.3159, allocations: 4.5 kB / 0.5762 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.416e-05/0.316, allocations: 34.17 kB / 0.5762 GB, free: 28.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.316, allocations: 0.9062 kB / 0.5762 GB, free: 28.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003454/0.3163, allocations: 187.7 kB / 0.5764 GB, free: 28.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.3164, allocations: 79.48 kB / 0.5765 GB, free: 28.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.195e-05/0.3164, allocations: 123.7 kB / 0.5766 GB, free: 28.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.3165, allocations: 26.22 kB / 0.5766 GB, free: 28.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.528e-05/0.3165, allocations: 88.97 kB / 0.5767 GB, free: 27.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.492e-05/0.3165, allocations: 14.73 kB / 0.5767 GB, free: 27.97 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/0.3165, allocations: 22.7 kB / 0.5767 GB, free: 27.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.742e-05/0.3166, allocations: 322.6 kB / 0.5771 GB, free: 27.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.968e-05/0.3167, allocations: 61.34 kB / 0.5771 GB, free: 27.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.981e-05/0.3168, allocations: 57.69 kB / 0.5772 GB, free: 27.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.317, allocations: 194.6 kB / 0.5773 GB, free: 27.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.317, allocations: 0 / 0.5773 GB, free: 27.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002456/0.3172, allocations: 217.1 kB / 0.5776 GB, free: 27.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.283e-05/0.3173, allocations: 65.05 kB / 0.5776 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3173, allocations: 0.6094 kB / 0.5776 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.3173, allocations: 1.375 kB / 0.5776 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.282e-05/0.3174, allocations: 8.938 kB / 0.5776 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.3174, allocations: 0 / 0.5776 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.623e-05/0.3174, allocations: 11.84 kB / 0.5776 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.3174, allocations: 3.281 kB / 0.5776 GB, free: 27.29 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.632e-05/0.3175, allocations: 150.1 kB / 0.5778 GB, free: 27.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.3176, allocations: 10.17 kB / 0.5778 GB, free: 27.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.607e-05/0.3176, allocations: 5.891 kB / 0.5778 GB, free: 27.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.3176, allocations: 1.375 kB / 0.5778 GB, free: 27.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.3176, allocations: 0 / 0.5778 GB, free: 27.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3176, allocations: 0.75 kB / 0.5778 GB, free: 27.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.3177, allocations: 178.4 kB / 0.578 GB, free: 26.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3177, allocations: 0 / 0.578 GB, free: 26.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.807e-05/0.3178, allocations: 6 kB / 0.578 GB, free: 26.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3178, allocations: 1.203 kB / 0.578 GB, free: 26.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.3178, allocations: 6.141 kB / 0.578 GB, free: 26.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3178, allocations: 0 / 0.578 GB, free: 26.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3178, allocations: 3.156 kB / 0.578 GB, free: 26.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.318, allocations: 260.1 kB / 0.5782 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.667e-05/0.318, allocations: 80.61 kB / 0.5783 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.3181, allocations: 2.031 kB / 0.5783 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.023e-05/0.3181, allocations: 5.766 kB / 0.5783 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.64e-05/0.3182, allocations: 5.266 kB / 0.5783 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-06/0.3183, allocations: 3.125 kB / 0.5783 GB, free: 26.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.044e-05/0.3183, allocations: 107.7 kB / 0.5784 GB, free: 26.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3183, allocations: 0 / 0.5784 GB, free: 26.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003085/0.3186, allocations: 54.23 kB / 0.5785 GB, free: 26.53 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.0002138/0.3188, allocations: 157.7 kB / 0.5786 GB, free: 26.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002792/0.3191, allocations: 244.9 kB / 0.5789 GB, free: 26.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3191, allocations: 1.469 kB / 0.5789 GB, free: 26.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.3192, allocations: 103.3 kB / 0.579 GB, free: 26.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.3195, allocations: 8.188 kB / 0.579 GB, free: 26.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002963/0.3198, allocations: 179.5 kB / 0.5791 GB, free: 26.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.3199, allocations: 0.6833 MB / 0.5798 GB, free: 25.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.32e-05/0.3199, allocations: 1.906 kB / 0.5798 GB, free: 25.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.23e-05/0.3199, allocations: 8.625 kB / 0.5798 GB, free: 25.33 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3199, allocations: 3.938 kB / 0.5798 GB, free: 25.33 MB / 446.1 MB Notification: Performance of Templates: time 0.003766/0.3237, allocations: 1.747 MB / 0.5815 GB, free: 24.52 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)