Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.7219/0.7219, allocations: 127.4 MB / 134.9 MB, free: 3.773 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 184.8 kB / 164.7 MB, free: 6.531 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.734/1.734, allocations: 205.2 MB / 399.5 MB, free: 5.957 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008891/0.0008891, allocations: 85.64 kB / 476.7 MB, free: 8.688 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.343e-05/2.345e-05, allocations: 4 kB / 0.5467 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1805, allocations: 76.76 MB / 0.6216 GB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6183/0.7989, allocations: 103.7 MB / 0.723 GB, free: 11.66 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003178/0.7993, allocations: 98.16 kB / 0.7231 GB, free: 11.61 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009896/0.8092, allocations: 3.271 MB / 0.7262 GB, free: 8.758 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.818e-06/0.8092, allocations: 4 kB / 0.7262 GB, free: 8.754 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.8093, allocations: 7.875 kB / 0.7263 GB, free: 8.746 MB / 490.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.0004855/0.8098, allocations: 425.6 kB / 0.7267 GB, free: 8.281 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.8098, allocations: 8.031 kB / 0.7267 GB, free: 8.273 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.8099, allocations: 12.64 kB / 0.7267 GB, free: 8.262 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.81, allocations: 167.1 kB / 0.7268 GB, free: 8.059 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.8101, allocations: 3.938 kB / 0.7268 GB, free: 8.055 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.8101, allocations: 7.984 kB / 0.7269 GB, free: 8.047 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001183/0.8102, allocations: 39.42 kB / 0.7269 GB, free: 8.016 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.8103, allocations: 64.73 kB / 0.727 GB, free: 7.953 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.8103, allocations: 3.938 kB / 0.727 GB, free: 7.949 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.8104, allocations: 0 / 0.727 GB, free: 7.949 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.8104, allocations: 0 / 0.727 GB, free: 7.949 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004187/0.8108, allocations: 257.7 kB / 0.7272 GB, free: 7.676 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.211e-05/0.8109, allocations: 61.11 kB / 0.7273 GB, free: 7.617 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.698e-05/0.811, allocations: 38.8 kB / 0.7273 GB, free: 7.582 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.811, allocations: 0 / 0.7273 GB, free: 7.582 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.811, allocations: 34.06 kB / 0.7273 GB, free: 7.543 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.811, allocations: 4 kB / 0.7273 GB, free: 7.539 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002864/0.8113, allocations: 106.1 kB / 0.7274 GB, free: 7.441 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.8114, allocations: 77.11 kB / 0.7275 GB, free: 7.348 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.8115, allocations: 119.2 kB / 0.7276 GB, free: 7.234 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.8115, allocations: 29.73 kB / 0.7276 GB, free: 7.199 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.907e-05/0.8116, allocations: 87.83 kB / 0.7277 GB, free: 7.113 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.8116, allocations: 11.8 kB / 0.7277 GB, free: 7.102 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.8116, allocations: 0 / 0.7277 GB, free: 7.102 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.8117, allocations: 318.5 kB / 0.728 GB, free: 6.785 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.544e-05/0.8118, allocations: 46.59 kB / 0.7281 GB, free: 6.75 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.046e-05/0.8119, allocations: 51.47 kB / 0.7281 GB, free: 6.711 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.812, allocations: 50.78 kB / 0.7282 GB, free: 6.672 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.812, allocations: 0 / 0.7282 GB, free: 6.672 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002162/0.8122, allocations: 150.8 kB / 0.7283 GB, free: 6.543 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.369e-05/0.8123, allocations: 59.41 kB / 0.7284 GB, free: 6.473 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.8123, allocations: 3.984 kB / 0.7284 GB, free: 6.469 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.8123, allocations: 0 / 0.7284 GB, free: 6.469 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.455e-05/0.8124, allocations: 11.88 kB / 0.7284 GB, free: 6.457 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.8124, allocations: 0 / 0.7284 GB, free: 6.457 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.782e-05/0.8125, allocations: 8 kB / 0.7284 GB, free: 6.449 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.8125, allocations: 7.953 kB / 0.7284 GB, free: 6.441 MB / 490.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 () * 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.0001063/0.8126, allocations: 142.4 kB / 0.7286 GB, free: 6.293 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001693/0.8128, allocations: 107.8 kB / 0.7287 GB, free: 6.195 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.8128, allocations: 11.47 kB / 0.7287 GB, free: 6.188 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.8129, allocations: 4.344 kB / 0.7287 GB, free: 6.184 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.8129, allocations: 3.938 kB / 0.7287 GB, free: 6.18 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.8129, allocations: 3.953 kB / 0.7287 GB, free: 6.176 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.8129, allocations: 96 / 0.7287 GB, free: 6.176 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.8131, allocations: 153.2 kB / 0.7288 GB, free: 5.996 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.8131, allocations: 4 kB / 0.7288 GB, free: 5.992 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.136e-05/0.8131, allocations: 8.031 kB / 0.7288 GB, free: 5.984 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.8131, allocations: 0 / 0.7288 GB, free: 5.984 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.8131, allocations: 0 / 0.7288 GB, free: 5.984 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.8131, allocations: 3.984 kB / 0.7288 GB, free: 5.98 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.8131, allocations: 0 / 0.7288 GB, free: 5.98 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.8134, allocations: 209.1 kB / 0.729 GB, free: 5.777 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.834e-05/0.8134, allocations: 81.02 kB / 0.7291 GB, free: 5.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.8134, allocations: 0 / 0.7291 GB, free: 5.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.818e-05/0.8135, allocations: 12.03 kB / 0.7291 GB, free: 5.668 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.634e-05/0.8136, allocations: 11.55 kB / 0.7291 GB, free: 5.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.8136, allocations: 0 / 0.7291 GB, free: 5.66 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.894e-05/0.8137, allocations: 95.8 kB / 0.7292 GB, free: 5.57 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8137, allocations: 0 / 0.7292 GB, free: 5.57 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000325/0.814, allocations: 71.62 kB / 0.7293 GB, free: 5.504 MB / 490.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) * 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.0006774/0.8147, allocations: 0.8067 MB / 0.7301 GB, free: 4.688 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002539/0.815, allocations: 222.6 kB / 0.7303 GB, free: 4.477 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.815, allocations: 4 kB / 0.7303 GB, free: 4.473 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.631e-05/0.8151, allocations: 93.95 kB / 0.7304 GB, free: 4.379 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.8152, allocations: 0 / 0.7304 GB, free: 4.379 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004544/0.8157, allocations: 181.9 kB / 0.7306 GB, free: 4.18 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.816, allocations: 0.6925 MB / 0.7312 GB, free: 3.461 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.636e-05/0.816, allocations: 3.938 kB / 0.7312 GB, free: 3.457 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.973e-05/0.816, allocations: 13.38 kB / 0.7313 GB, free: 3.449 MB / 490.7 MB Notification: Performance of SimCode: time 2.6e-07/0.816, allocations: 4 kB / 0.7313 GB, free: 3.445 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02419/0.8402, allocations: 2.129 MB / 0.7333 GB, free: 1.348 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002374/0.8405, allocations: 186 kB / 0.7335 GB, free: 1.156 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.727/2.568, allocations: 2.812 kB / 0.7335 GB, free: 1.156 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)