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/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_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IDEAS_dev_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.006094/0.006094, allocations: 169.5 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.7358/0.7358, 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.484/1.484, allocations: 223.2 MB / 406.8 MB, free: 3.223 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.001148/0.001148, allocations: 101.8 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004384/0.0004385, allocations: 12 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4799/0.4804, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.151/0.6315, allocations: 112.8 MB / 0.7597 GB, free: 3.156 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/0.6318, allocations: 91.94 kB / 0.7598 GB, free: 3.066 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01022/0.6421, allocations: 3.272 MB / 0.763 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.605e-06/0.6421, allocations: 0 / 0.763 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.545e-05/0.6421, allocations: 0 / 0.763 GB, free: 15.79 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.0004899/0.6426, allocations: 439.1 kB / 0.7634 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.6427, allocations: 19.97 kB / 0.7634 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.242e-05/0.6427, allocations: 30.56 kB / 0.7635 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.6428, allocations: 8 kB / 0.7635 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.6429, allocations: 174.9 kB / 0.7636 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.6429, allocations: 4 kB / 0.7636 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.643, allocations: 0 / 0.7636 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.6432, allocations: 73.67 kB / 0.7637 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.6432, allocations: 0 / 0.7637 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.6432, allocations: 0 / 0.7637 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.6432, allocations: 4 kB / 0.7637 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.6433, allocations: 51.95 kB / 0.7638 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004523/0.6438, allocations: 288.7 kB / 0.764 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.6439, allocations: 62.56 kB / 0.7641 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.644, allocations: 0 / 0.7641 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.644, allocations: 34.59 kB / 0.7641 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.644, allocations: 0 / 0.7641 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0004246/0.6444, allocations: 264.4 kB / 0.7644 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.6445, allocations: 89.12 kB / 0.7645 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.257e-05/0.6446, allocations: 112.9 kB / 0.7646 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.6446, allocations: 29.7 kB / 0.7646 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.832e-05/0.6447, allocations: 84.14 kB / 0.7647 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.6447, allocations: 7.906 kB / 0.7647 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/0.6447, allocations: 3.938 kB / 0.7647 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.6448, allocations: 322.8 kB / 0.765 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.962e-05/0.6449, allocations: 55.97 kB / 0.7651 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.086e-05/0.645, allocations: 67.95 kB / 0.7651 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.6452, allocations: 115.3 kB / 0.7652 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.6452, allocations: 0 / 0.7652 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002787/0.6455, allocations: 217 kB / 0.7654 GB, free: 13 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 5.114e-05/0.6455, allocations: 68.48 kB / 0.7655 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.6455, allocations: 0 / 0.7655 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.6455, allocations: 4 kB / 0.7655 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.701e-05/0.6456, allocations: 4 kB / 0.7655 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.6456, allocations: 0 / 0.7655 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.2e-05/0.6457, allocations: 19.83 kB / 0.7655 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.6457, allocations: 4 kB / 0.7655 GB, free: 12.89 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.0001108/0.6458, allocations: 151.5 kB / 0.7657 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.6459, allocations: 0 / 0.7657 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.6459, allocations: 7.906 kB / 0.7657 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.6459, allocations: 4.234 kB / 0.7657 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.6459, allocations: 0 / 0.7657 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.6459, allocations: 0 / 0.7657 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.6461, allocations: 177.6 kB / 0.7659 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6461, allocations: 0 / 0.7659 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.847e-05/0.6461, allocations: 4 kB / 0.7659 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.6461, allocations: 0 / 0.7659 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.6462, allocations: 4 kB / 0.7659 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.6462, allocations: 3.984 kB / 0.7659 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.6462, allocations: 0 / 0.7659 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003237/0.6465, allocations: 261 kB / 0.7661 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.042e-05/0.6466, allocations: 85.02 kB / 0.7662 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.6466, allocations: 0 / 0.7662 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-05/0.6467, allocations: 8 kB / 0.7662 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.314e-05/0.6467, allocations: 3.984 kB / 0.7662 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.6468, allocations: 8.031 kB / 0.7662 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.75e-05/0.6468, allocations: 107.6 kB / 0.7663 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6468, allocations: 0 / 0.7663 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003266/0.6472, allocations: 63.92 kB / 0.7664 GB, free: 11.91 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.0006985/0.6479, allocations: 0.8506 MB / 0.7672 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003166/0.6482, allocations: 234.7 kB / 0.7674 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.6482, allocations: 0 / 0.7674 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.6483, allocations: 103.4 kB / 0.7675 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.6485, allocations: 4 kB / 0.7675 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005926/0.6491, allocations: 415.2 kB / 0.7679 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.6493, allocations: 0.6965 MB / 0.7686 GB, free: 9.477 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.132e-05/0.6494, allocations: 7.875 kB / 0.7686 GB, free: 9.469 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.6494, allocations: 19.44 kB / 0.7686 GB, free: 9.449 MB / 0.5417 GB Notification: Performance of SimCode: time 3.3e-07/0.6494, allocations: 0 / 0.7686 GB, free: 9.449 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01488/0.6643, allocations: 2.427 MB / 0.771 GB, free: 7.211 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/0.6645, allocations: 208.7 kB / 0.7712 GB, free: 6.969 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/2.303, allocations: 0 / 0.7712 GB, free: 6.969 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)