Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006809/0.006809, allocations: 170.1 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7364/0.7364, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 223.2 MB / 406.8 MB, free: 3.258 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009965/0.0009967, allocations: 95.59 kB / 489.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003495, allocations: 12 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4421/0.4424, allocations: 82.31 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.167/0.6095, allocations: 112.8 MB / 0.7597 GB, free: 3.176 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003647/0.6099, allocations: 99.92 kB / 0.7598 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01076/0.6207, allocations: 3.257 MB / 0.763 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.387e-06/0.6207, allocations: 0 / 0.763 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.41e-05/0.6208, allocations: 8 kB / 0.763 GB, free: 15.81 MB / 0.5417 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.0005847/0.6213, allocations: 446.4 kB / 0.7634 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.6214, allocations: 15.97 kB / 0.7634 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.339e-05/0.6215, allocations: 30.56 kB / 0.7635 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.9e-05/0.6215, allocations: 4 kB / 0.7635 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.6217, allocations: 171 kB / 0.7636 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.6217, allocations: 7.984 kB / 0.7636 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.6217, allocations: 4 kB / 0.7636 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.6219, allocations: 69.67 kB / 0.7637 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.622, allocations: 0 / 0.7637 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.622, allocations: 4 kB / 0.7637 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.622, allocations: 4 kB / 0.7637 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.6221, allocations: 51.95 kB / 0.7638 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005027/0.6226, allocations: 280.8 kB / 0.764 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.6228, allocations: 66.55 kB / 0.7641 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.6228, allocations: 0 / 0.7641 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.6229, allocations: 34.59 kB / 0.7641 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.6229, allocations: 0 / 0.7641 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0004745/0.6233, allocations: 268.4 kB / 0.7644 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.6234, allocations: 77.14 kB / 0.7645 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.6235, allocations: 124.9 kB / 0.7646 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.6236, allocations: 25.7 kB / 0.7646 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/0.6236, allocations: 92.12 kB / 0.7647 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.6236, allocations: 3.906 kB / 0.7647 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.882e-06/0.6237, allocations: 3.938 kB / 0.7647 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.6238, allocations: 326.8 kB / 0.765 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.6239, allocations: 55.97 kB / 0.7651 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.567e-05/0.624, allocations: 63.95 kB / 0.7651 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.6242, allocations: 107.4 kB / 0.7652 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6242, allocations: 0 / 0.7652 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000309/0.6245, allocations: 217 kB / 0.7654 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 5.691e-05/0.6246, allocations: 68.48 kB / 0.7655 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.6246, allocations: 0 / 0.7655 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.6246, allocations: 0 / 0.7655 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.858e-05/0.6247, allocations: 8 kB / 0.7655 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.6247, allocations: 4 kB / 0.7655 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.5e-05/0.6247, allocations: 15.83 kB / 0.7655 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/0.6248, allocations: 4 kB / 0.7655 GB, free: 12.91 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000129/0.6249, allocations: 151.5 kB / 0.7657 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/0.6249, allocations: 4.234 kB / 0.7657 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.143e-05/0.625, allocations: 7.891 kB / 0.7657 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.625, allocations: 4 kB / 0.7657 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.625, allocations: 0 / 0.7657 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.625, allocations: 3.938 kB / 0.7657 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.6252, allocations: 177.7 kB / 0.7659 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.6252, allocations: 4 kB / 0.7659 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.433e-05/0.6253, allocations: 4 kB / 0.7659 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.6253, allocations: 0 / 0.7659 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.6253, allocations: 0 / 0.7659 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.6253, allocations: 0 / 0.7659 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.6253, allocations: 4 kB / 0.7659 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.6256, allocations: 265 kB / 0.7661 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.284e-05/0.6257, allocations: 81.02 kB / 0.7662 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.6257, allocations: 4 kB / 0.7662 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-05/0.6258, allocations: 4 kB / 0.7662 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.83e-05/0.6259, allocations: 7.984 kB / 0.7662 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.968e-06/0.6259, allocations: 4.031 kB / 0.7662 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 8.152e-05/0.626, allocations: 103.2 kB / 0.7663 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.01e-07/0.626, allocations: 0 / 0.7663 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003503/0.6263, allocations: 67.92 kB / 0.7664 GB, free: 11.92 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008625/0.6272, allocations: 0.8428 MB / 0.7672 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003464/0.6276, allocations: 238.7 kB / 0.7674 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.6276, allocations: 0 / 0.7674 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.6277, allocations: 107.4 kB / 0.7675 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.6279, allocations: 0 / 0.7675 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007262/0.6286, allocations: 418.5 kB / 0.7679 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.6289, allocations: 0.6887 MB / 0.7686 GB, free: 9.5 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.993e-05/0.6289, allocations: 3.938 kB / 0.7686 GB, free: 9.496 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.385e-05/0.629, allocations: 19.44 kB / 0.7686 GB, free: 9.477 MB / 0.5417 GB Notification: Performance of SimCode: time 2.91e-07/0.629, allocations: 0 / 0.7686 GB, free: 9.477 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01639/0.6454, allocations: 2.428 MB / 0.771 GB, free: 7.227 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/0.6456, allocations: 200.8 kB / 0.7712 GB, free: 6.992 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.782/2.428, allocations: 0 / 0.7712 GB, free: 6.992 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)