Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IBPSA_latest_IBPSA_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.001408/0.001408, allocations: 178.8 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5225/0.5225, allocations: 91.98 MB / 108.5 MB, free: 13.04 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.849/1.849, allocations: 223.2 MB / 354.3 MB, free: 12.22 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001165, allocations: 107.6 kB / 427.4 MB, free: 3.957 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.0003409, allocations: 8 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1737, allocations: 72.31 MB / 0.5689 GB, free: 1.844 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5213/0.6951, allocations: 103 MB / 0.6695 GB, free: 1.41 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.6954, allocations: 99.88 kB / 0.6696 GB, free: 1.312 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009862/0.7053, allocations: 3.275 MB / 0.6728 GB, free: 14.05 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.7053, allocations: 3.938 kB / 0.6728 GB, free: 14.04 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.7053, allocations: 0 / 0.6728 GB, free: 14.04 MB / 474.7 MB 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.0004961/0.7058, allocations: 443.1 kB / 0.6733 GB, free: 13.55 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.7059, allocations: 8.031 kB / 0.6733 GB, free: 13.54 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.888e-05/0.7059, allocations: 30.56 kB / 0.6733 GB, free: 13.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/0.706, allocations: 7.953 kB / 0.6733 GB, free: 13.5 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.7061, allocations: 174.9 kB / 0.6735 GB, free: 13.29 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.7062, allocations: 4 kB / 0.6735 GB, free: 13.28 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.7062, allocations: 4 kB / 0.6735 GB, free: 13.28 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.7064, allocations: 77.66 kB / 0.6736 GB, free: 13.2 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.7064, allocations: 4 kB / 0.6736 GB, free: 13.19 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.7065, allocations: 7.922 kB / 0.6736 GB, free: 13.18 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.7065, allocations: 0 / 0.6736 GB, free: 13.18 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.7066, allocations: 51.92 kB / 0.6736 GB, free: 13.13 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004492/0.7071, allocations: 276.9 kB / 0.6739 GB, free: 12.81 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.7072, allocations: 62.48 kB / 0.6739 GB, free: 12.74 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.7072, allocations: 4.031 kB / 0.6739 GB, free: 12.74 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.7073, allocations: 30.56 kB / 0.674 GB, free: 12.7 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.7073, allocations: 4 kB / 0.674 GB, free: 12.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004428/0.7077, allocations: 276.3 kB / 0.6742 GB, free: 12.39 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.7078, allocations: 77.11 kB / 0.6743 GB, free: 12.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.956e-05/0.7079, allocations: 120.9 kB / 0.6744 GB, free: 12.18 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.7079, allocations: 25.7 kB / 0.6745 GB, free: 12.14 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.158e-05/0.708, allocations: 88.14 kB / 0.6745 GB, free: 12.05 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.708, allocations: 7.938 kB / 0.6745 GB, free: 12.05 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.708, allocations: 0 / 0.6745 GB, free: 12.05 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.7081, allocations: 322.8 kB / 0.6749 GB, free: 11.72 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.7083, allocations: 51.97 kB / 0.6749 GB, free: 11.67 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.859e-05/0.7084, allocations: 59.95 kB / 0.675 GB, free: 11.61 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.7085, allocations: 119.4 kB / 0.6751 GB, free: 11.48 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.7085, allocations: 4 kB / 0.6751 GB, free: 11.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002824/0.7088, allocations: 212.9 kB / 0.6753 GB, free: 11.25 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.242e-05/0.7089, allocations: 63.39 kB / 0.6753 GB, free: 11.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.7089, allocations: 0 / 0.6753 GB, free: 11.18 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.7089, allocations: 4 kB / 0.6753 GB, free: 11.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.038e-05/0.709, allocations: 4 kB / 0.6753 GB, free: 11.17 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.709, allocations: 7.938 kB / 0.6754 GB, free: 11.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.15e-05/0.709, allocations: 15.92 kB / 0.6754 GB, free: 11.15 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.162e-05/0.7091, allocations: 7.938 kB / 0.6754 GB, free: 11.14 MB / 474.7 MB 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.0001078/0.7092, allocations: 147.5 kB / 0.6755 GB, free: 10.98 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.7092, allocations: 11.89 kB / 0.6755 GB, free: 10.97 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.088e-05/0.7093, allocations: 7.906 kB / 0.6755 GB, free: 10.96 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.7093, allocations: 3.938 kB / 0.6755 GB, free: 10.95 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.7093, allocations: 0 / 0.6755 GB, free: 10.95 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.7093, allocations: 7.953 kB / 0.6755 GB, free: 10.95 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.7095, allocations: 173.6 kB / 0.6757 GB, free: 10.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.7095, allocations: 4 kB / 0.6757 GB, free: 10.72 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.015e-05/0.7095, allocations: 4 kB / 0.6757 GB, free: 10.72 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.7095, allocations: 0 / 0.6757 GB, free: 10.72 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.7095, allocations: 0 / 0.6757 GB, free: 10.72 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.7095, allocations: 4 kB / 0.6757 GB, free: 10.71 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7096, allocations: 0 / 0.6757 GB, free: 10.71 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.7098, allocations: 249.2 kB / 0.676 GB, free: 10.45 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.014e-05/0.7099, allocations: 85 kB / 0.676 GB, free: 10.35 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.7099, allocations: 4 kB / 0.676 GB, free: 10.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.746e-05/0.71, allocations: 7.938 kB / 0.6761 GB, free: 10.34 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.525e-05/0.7101, allocations: 11.98 kB / 0.6761 GB, free: 10.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.7101, allocations: 0 / 0.6761 GB, free: 10.32 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.563e-05/0.7102, allocations: 97.12 kB / 0.6762 GB, free: 10.23 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7102, allocations: 0 / 0.6762 GB, free: 10.23 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003215/0.7105, allocations: 67.94 kB / 0.6762 GB, free: 10.16 MB / 474.7 MB 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.0007378/0.7112, allocations: 0.8432 MB / 0.677 GB, free: 9.289 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003268/0.7116, allocations: 254.6 kB / 0.6773 GB, free: 9.016 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.7116, allocations: 4 kB / 0.6773 GB, free: 9.012 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.7117, allocations: 99.38 kB / 0.6774 GB, free: 8.902 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.7119, allocations: 6.75 kB / 0.6774 GB, free: 8.898 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006255/0.7125, allocations: 412.4 kB / 0.6778 GB, free: 8.445 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.7128, allocations: 0.6926 MB / 0.6785 GB, free: 7.727 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.554e-05/0.7128, allocations: 0 / 0.6785 GB, free: 7.727 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.7128, allocations: 11.44 kB / 0.6785 GB, free: 7.715 MB / 474.7 MB Notification: Performance of SimCode: time 4.81e-07/0.7128, allocations: 0 / 0.6785 GB, free: 7.715 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01353/0.7264, allocations: 2.451 MB / 0.6809 GB, free: 5.445 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001817/0.7266, allocations: 205.5 kB / 0.6811 GB, free: 5.211 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.796/2.523, allocations: 0 / 0.6811 GB, free: 5.211 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)