Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.005645/0.005645, allocations: 98.8 kB / 15.73 MB, free: 6.035 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.001272/0.001272, allocations: 193.4 kB / 16.67 MB, free: 5.961 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.919/0.919, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002426/0.002426, allocations: 64.14 kB / 0.5856 GB, free: 3.375 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4318/0.4342, allocations: 80.91 MB / 0.6647 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002239/0.4365, allocations: 1.423 MB / 0.666 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.4376, allocations: 0.7775 MB / 0.6668 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.029e-05/0.4376, allocations: 0 / 0.6668 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.734e-05/0.4377, allocations: 5.453 kB / 0.6668 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.347e-05/0.4378, allocations: 7.938 kB / 0.6668 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005926/0.4384, allocations: 166.3 kB / 0.667 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.4385, allocations: 53.19 kB / 0.667 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.859e-05/0.4386, allocations: 3.312 kB / 0.667 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.696e-05/0.4386, allocations: 22.12 kB / 0.6671 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.438e-05/0.4387, allocations: 13.08 kB / 0.6671 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.4387, allocations: 4 kB / 0.6671 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003193/0.439, allocations: 204.4 kB / 0.6673 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.528e-05/0.4391, allocations: 12.31 kB / 0.6673 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.456e-05/0.4391, allocations: 23.69 kB / 0.6673 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002745/0.4394, allocations: 186.9 kB / 0.6675 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4394, allocations: 0 / 0.6675 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4394, allocations: 5.188 kB / 0.6675 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.4394, allocations: 0 / 0.6675 GB, free: 5.488 MB / 0.4981 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.0004354/0.4399, allocations: 441.3 kB / 0.6679 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.4399, allocations: 12.81 kB / 0.6679 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.4399, allocations: 3.5 kB / 0.6679 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.567e-05/0.44, allocations: 171.7 kB / 0.6681 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.4401, allocations: 2.75 kB / 0.6681 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.4401, allocations: 9.312 kB / 0.6681 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.4402, allocations: 78.34 kB / 0.6682 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.4403, allocations: 5.109 kB / 0.6682 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.4403, allocations: 0 / 0.6682 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.4403, allocations: 1.25 kB / 0.6682 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.4404, allocations: 44.28 kB / 0.6682 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003184/0.4407, allocations: 282.9 kB / 0.6685 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.4408, allocations: 65.08 kB / 0.6685 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.968e-05/0.4409, allocations: 47.03 kB / 0.6686 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.023e-06/0.4409, allocations: 0 / 0.6686 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.441, allocations: 32.31 kB / 0.6686 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.441, allocations: 0 / 0.6686 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003559/0.4413, allocations: 189.5 kB / 0.6688 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.4414, allocations: 78.23 kB / 0.6689 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.59e-05/0.4415, allocations: 131 kB / 0.669 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.4415, allocations: 26.89 kB / 0.669 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.88e-05/0.4415, allocations: 91 kB / 0.6691 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.358e-05/0.4415, allocations: 5.297 kB / 0.6691 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.4416, allocations: 20.78 kB / 0.6691 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.431e-05/0.4416, allocations: 321.3 kB / 0.6694 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.4417, allocations: 55.72 kB / 0.6695 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.614e-05/0.4418, allocations: 60.64 kB / 0.6696 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.442, allocations: 194 kB / 0.6697 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.442, allocations: 0 / 0.6697 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002464/0.4423, allocations: 217.1 kB / 0.6699 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.642e-05/0.4423, allocations: 67.7 kB / 0.67 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4423, allocations: 0 / 0.67 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.4424, allocations: 1.406 kB / 0.67 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.623e-05/0.4424, allocations: 2.625 kB / 0.67 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.4424, allocations: 0 / 0.67 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.467e-05/0.4425, allocations: 13.77 kB / 0.67 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.4425, allocations: 5.328 kB / 0.67 GB, free: 3.105 MB / 0.4981 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.106e-05/0.4426, allocations: 156.1 kB / 0.6702 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.4426, allocations: 6.469 kB / 0.6702 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.879e-05/0.4426, allocations: 9.422 kB / 0.6702 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.4426, allocations: 0 / 0.6702 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4426, allocations: 1.219 kB / 0.6702 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.4426, allocations: 0 / 0.6702 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.4428, allocations: 178.9 kB / 0.6704 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.4428, allocations: 4 kB / 0.6704 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.597e-05/0.4428, allocations: 3.812 kB / 0.6704 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.4428, allocations: 0 / 0.6704 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.4428, allocations: 1.438 kB / 0.6704 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4428, allocations: 3.984 kB / 0.6704 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4428, allocations: 1.188 kB / 0.6704 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.4431, allocations: 254.4 kB / 0.6706 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.728e-05/0.4431, allocations: 94.42 kB / 0.6707 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.4431, allocations: 2.875 kB / 0.6707 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.828e-05/0.4432, allocations: 3.531 kB / 0.6707 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.4433, allocations: 10.73 kB / 0.6707 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.4433, allocations: 1.438 kB / 0.6707 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.765e-05/0.4434, allocations: 95.3 kB / 0.6708 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4434, allocations: 0 / 0.6708 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003181/0.4437, allocations: 57.22 kB / 0.6709 GB, free: 2.289 MB / 0.4981 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.0002374/0.4439, allocations: 160.5 kB / 0.671 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002868/0.4442, allocations: 245.2 kB / 0.6713 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4442, allocations: 0 / 0.6713 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.4444, allocations: 106.5 kB / 0.6714 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.4446, allocations: 5.391 kB / 0.6714 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003248/0.4449, allocations: 176.2 kB / 0.6715 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.445, allocations: 0.6935 MB / 0.6722 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.784e-05/0.445, allocations: 1.062 kB / 0.6722 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.438e-05/0.4451, allocations: 8.562 kB / 0.6722 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.4451, allocations: 0 / 0.6722 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of Templates: time 0.004135/0.4492, allocations: 1.759 MB / 0.6739 GB, free: 148 kB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)