Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.00137/0.00137, allocations: 103.1 kB / 15.98 MB, free: 6.348 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.001725/0.001725, allocations: 196.9 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 205.1 MB / 222.8 MB, free: 4.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.719/1.719, allocations: 292.3 MB / 0.5492 GB, free: 13.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 67.55 kB / 0.6717 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2402, allocations: 114.5 MB / 0.7835 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002711/0.243, allocations: 1.495 MB / 0.785 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.2443, allocations: 0.821 MB / 0.7858 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.855e-05/0.2443, allocations: 3.938 kB / 0.7858 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.489e-05/0.2444, allocations: 0 / 0.7858 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.767e-05/0.2445, allocations: 11.98 kB / 0.7858 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005972/0.2451, allocations: 152 kB / 0.786 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.776e-05/0.2452, allocations: 47.91 kB / 0.786 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.807e-05/0.2453, allocations: 11.94 kB / 0.786 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.946e-05/0.2453, allocations: 23.92 kB / 0.786 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.896e-05/0.2454, allocations: 15.92 kB / 0.7861 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.2454, allocations: 4 kB / 0.7861 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000287/0.2457, allocations: 199.7 kB / 0.7862 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.993e-05/0.2457, allocations: 7.984 kB / 0.7863 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.609e-05/0.2458, allocations: 19.88 kB / 0.7863 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.246, allocations: 127.8 kB / 0.7864 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.246, allocations: 0 / 0.7864 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.246, allocations: 4 kB / 0.7864 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.246, allocations: 0 / 0.7864 GB, free: 10.91 MB / 0.6075 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.0005057/0.2465, allocations: 438.7 kB / 0.7868 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.2466, allocations: 8.031 kB / 0.7868 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/0.2466, allocations: 4.938 kB / 0.7868 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.2467, allocations: 172.2 kB / 0.787 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.2468, allocations: 4.375 kB / 0.787 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.2468, allocations: 8.125 kB / 0.787 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.247, allocations: 81.59 kB / 0.7871 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.247, allocations: 0 / 0.7871 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.247, allocations: 0 / 0.7871 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.247, allocations: 0 / 0.7871 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.2471, allocations: 47.97 kB / 0.7871 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003898/0.2475, allocations: 280.8 kB / 0.7874 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.2476, allocations: 66.53 kB / 0.7875 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.41e-05/0.2477, allocations: 44.92 kB / 0.7875 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.2477, allocations: 3.984 kB / 0.7875 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.2478, allocations: 34.56 kB / 0.7875 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.2478, allocations: 0 / 0.7875 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003749/0.2482, allocations: 183.2 kB / 0.7877 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.2482, allocations: 81.11 kB / 0.7878 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.2483, allocations: 125.9 kB / 0.7879 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.2484, allocations: 29.7 kB / 0.7879 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.588e-05/0.2484, allocations: 88.12 kB / 0.788 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/0.2484, allocations: 7.906 kB / 0.788 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.2485, allocations: 17.72 kB / 0.788 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.2486, allocations: 326.8 kB / 0.7884 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.576e-05/0.2487, allocations: 55.97 kB / 0.7884 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.676e-05/0.2488, allocations: 59.91 kB / 0.7885 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.2491, allocations: 193.9 kB / 0.7887 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2491, allocations: 0 / 0.7887 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002752/0.2494, allocations: 224.9 kB / 0.7889 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.092e-05/0.2494, allocations: 63.41 kB / 0.7889 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.2494, allocations: 0 / 0.7889 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.2494, allocations: 0 / 0.7889 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.719e-05/0.2495, allocations: 7.984 kB / 0.7889 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.2495, allocations: 0 / 0.7889 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.32e-05/0.2496, allocations: 8 kB / 0.7889 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.2496, allocations: 8.062 kB / 0.789 GB, free: 8 MB / 0.6075 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.0001228/0.2497, allocations: 152.3 kB / 0.7891 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.2498, allocations: 7.844 kB / 0.7891 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.179e-05/0.2498, allocations: 7.906 kB / 0.7891 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.2498, allocations: 0 / 0.7891 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.2498, allocations: 0 / 0.7891 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.2498, allocations: 0 / 0.7891 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.25, allocations: 173.6 kB / 0.7893 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.25, allocations: 8 kB / 0.7893 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.658e-05/0.25, allocations: 3.984 kB / 0.7893 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.25, allocations: 0 / 0.7893 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.25, allocations: 4 kB / 0.7893 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.25, allocations: 0 / 0.7893 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.25, allocations: 0 / 0.7893 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002668/0.2503, allocations: 253 kB / 0.7895 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.569e-05/0.2504, allocations: 85.05 kB / 0.7896 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.2504, allocations: 4.031 kB / 0.7896 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.851e-05/0.2505, allocations: 7.984 kB / 0.7896 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.2506, allocations: 4 kB / 0.7896 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.2506, allocations: 0 / 0.7896 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.553e-05/0.2507, allocations: 99.27 kB / 0.7897 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2507, allocations: 0 / 0.7897 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003135/0.251, allocations: 55.98 kB / 0.7898 GB, free: 7.039 MB / 0.6075 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.0002706/0.2513, allocations: 159.2 kB / 0.7899 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003289/0.2516, allocations: 246.7 kB / 0.7902 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.2516, allocations: 4 kB / 0.7902 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.2517, allocations: 95.38 kB / 0.7903 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.252, allocations: 8 kB / 0.7903 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003872/0.2524, allocations: 222.1 kB / 0.7905 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.2526, allocations: 0.6807 MB / 0.7911 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/0.2527, allocations: 15.38 kB / 0.7912 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of SimCode: time 3.2e-07/0.2527, allocations: 3.938 kB / 0.7912 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of Templates: time 0.00318/0.2559, allocations: 1.495 MB / 0.7926 GB, free: 4.023 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)