Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_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.001072/0.001072, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001153/0.001153, allocations: 195 kB / 16.25 MB, free: 6.621 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.363/1.363, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.742/2.742, allocations: 472.6 MB / 0.7448 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 62.53 kB / 0.9115 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3169, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002492/0.3194, allocations: 1.504 MB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.3207, allocations: 0.7987 MB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.685e-05/0.3207, allocations: 0 / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.384e-05/0.3208, allocations: 3.938 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.501e-05/0.3209, allocations: 0 / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005948/0.3215, allocations: 151.3 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.557e-05/0.3216, allocations: 59.89 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.987e-05/0.3217, allocations: 4 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.522e-05/0.3217, allocations: 15.92 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.907e-05/0.3217, allocations: 19.92 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.3218, allocations: 4 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002976/0.3221, allocations: 203.7 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.553e-05/0.3221, allocations: 8 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.23e-05/0.3222, allocations: 23.86 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.3224, allocations: 187.9 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.3224, allocations: 0 / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3224, allocations: 0 / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.3224, allocations: 0 / 1.071 GB, free: 7.793 MB / 0.8262 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.0004569/0.3229, allocations: 434.7 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.323, allocations: 12.03 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/0.323, allocations: 0.9375 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.3231, allocations: 176.2 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.3231, allocations: 4.312 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.3232, allocations: 16.31 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.3233, allocations: 73.98 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.3234, allocations: 0 / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.3234, allocations: 0 / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.3234, allocations: 4 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.3235, allocations: 47.95 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003875/0.3239, allocations: 276.8 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.324, allocations: 58.55 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.331e-05/0.3241, allocations: 44.91 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.3241, allocations: 4 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.3242, allocations: 34.56 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.3242, allocations: 0 / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0003804/0.3245, allocations: 191.2 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.3246, allocations: 81.11 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.3247, allocations: 121.8 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.3247, allocations: 25.7 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.285e-05/0.3248, allocations: 92.08 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.3248, allocations: 7.906 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.3248, allocations: 21.7 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.325, allocations: 318.8 kB / 1.073 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.722e-05/0.3251, allocations: 60 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.177e-05/0.3252, allocations: 59.95 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.3254, allocations: 193.8 kB / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.3254, allocations: 0 / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002773/0.3257, allocations: 220.9 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.465e-05/0.3257, allocations: 63.39 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.3258, allocations: 4.062 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.3258, allocations: 0 / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.796e-05/0.3258, allocations: 8 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.3258, allocations: 0 / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.97e-05/0.3259, allocations: 11.98 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.3259, allocations: 7.938 kB / 1.073 GB, free: 4.883 MB / 0.8262 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 9.713e-05/0.326, allocations: 147.5 kB / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.3261, allocations: 11.89 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.995e-05/0.3261, allocations: 3.906 kB / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.3261, allocations: 240 / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3261, allocations: 4 kB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.3261, allocations: 3.984 kB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.3263, allocations: 181.6 kB / 1.073 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3263, allocations: 0 / 1.073 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.59e-05/0.3263, allocations: 0 / 1.073 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3263, allocations: 4 kB / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.3263, allocations: 3.938 kB / 1.073 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3264, allocations: 0 / 1.073 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3264, allocations: 0 / 1.073 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.3266, allocations: 261.1 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.633e-05/0.3267, allocations: 81.02 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.3267, allocations: 0 / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.855e-05/0.3268, allocations: 4 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.3269, allocations: 7.984 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.3269, allocations: 4 kB / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.151e-05/0.327, allocations: 95.27 kB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.327, allocations: 0 / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003129/0.3273, allocations: 60.03 kB / 1.074 GB, free: 3.914 MB / 0.8262 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.0002597/0.3276, allocations: 155.2 kB / 1.074 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003483/0.3279, allocations: 246.7 kB / 1.074 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3279, allocations: 0 / 1.074 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.3281, allocations: 99.38 kB / 1.074 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.3283, allocations: 7.938 kB / 1.074 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003473/0.3286, allocations: 189.4 kB / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.3289, allocations: 0.6884 MB / 1.075 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.423e-05/0.3289, allocations: 0 / 1.075 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.433e-05/0.3289, allocations: 11.44 kB / 1.075 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3289, allocations: 0 / 1.075 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of Templates: time 0.004059/0.333, allocations: 1.694 MB / 1.077 GB, free: 0.7773 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)