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: translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8145/0.8145, allocations: 128.7 MB / 143.7 MB, free: 2.305 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.001096/0.001096, allocations: 182.3 kB / 173.8 MB, free: 6.117 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.023/2.023, allocations: 205.4 MB / 409 MB, free: 10.49 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.001347/0.001347, allocations: 82.41 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004019/0.0004019, allocations: 8.625 kB / 0.5604 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2333, allocations: 76.77 MB / 0.6353 GB, free: 30.54 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.15/0.3833, allocations: 104.2 MB / 0.7371 GB, free: 6.16 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/0.3837, allocations: 107.8 kB / 0.7372 GB, free: 6.055 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.009955/0.3936, allocations: 3.304 MB / 0.7405 GB, free: 2.746 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.435e-06/0.3937, allocations: 0 / 0.7405 GB, free: 2.746 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.3937, allocations: 0 / 0.7405 GB, free: 2.746 MB / 0.5105 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.0005095/0.3942, allocations: 442.5 kB / 0.7409 GB, free: 2.254 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.3943, allocations: 8.031 kB / 0.7409 GB, free: 2.246 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.732e-05/0.3943, allocations: 11.86 kB / 0.7409 GB, free: 2.234 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.3945, allocations: 163.1 kB / 0.7411 GB, free: 2.035 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.3945, allocations: 8 kB / 0.7411 GB, free: 2.027 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.3945, allocations: 4 kB / 0.7411 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.3947, allocations: 73.66 kB / 0.7411 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.3947, allocations: 0 / 0.7411 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.3948, allocations: 4 kB / 0.7411 GB, free: 1.941 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3948, allocations: 0 / 0.7411 GB, free: 1.941 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.3949, allocations: 51.91 kB / 0.7412 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004779/0.3954, allocations: 284.9 kB / 0.7415 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.3955, allocations: 58.55 kB / 0.7415 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.276e-06/0.3955, allocations: 0 / 0.7415 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.3956, allocations: 42.53 kB / 0.7416 GB, free: 1.445 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.3956, allocations: 4 kB / 0.7416 GB, free: 1.441 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0004749/0.3961, allocations: 276.3 kB / 0.7418 GB, free: 1.141 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.3961, allocations: 81.06 kB / 0.7419 GB, free: 1.043 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.911e-05/0.3962, allocations: 116.9 kB / 0.742 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.3963, allocations: 25.7 kB / 0.742 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.16e-05/0.3963, allocations: 92.12 kB / 0.7421 GB, free: 0.7969 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.461e-05/0.3963, allocations: 7.938 kB / 0.7421 GB, free: 0.7891 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-06/0.3963, allocations: 0 / 0.7421 GB, free: 0.7891 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.3965, allocations: 318.8 kB / 0.7424 GB, free: 480 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.744e-05/0.3966, allocations: 59.95 kB / 0.7425 GB, free: 420 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.472e-05/0.3967, allocations: 59.91 kB / 0.7426 GB, free: 360 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.3968, allocations: 111.4 kB / 0.7427 GB, free: 236 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3968, allocations: 0 / 0.7427 GB, free: 236 kB / 0.5105 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.4583/0.8551, allocations: 221.9 kB / 0.7429 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.8553, allocations: 62.66 kB / 0.7429 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.8553, allocations: 0 / 0.7429 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.489e-05/0.8554, allocations: 0 / 0.7429 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.8555, allocations: 5.016 kB / 0.7429 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.8555, allocations: 2.172 kB / 0.7429 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.251e-05/0.8556, allocations: 10.06 kB / 0.7429 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-05/0.8557, allocations: 4.375 kB / 0.743 GB, free: 108.4 MB / 0.5105 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.0001389/0.8558, allocations: 152.4 kB / 0.7431 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.217e-05/0.8559, allocations: 5.875 kB / 0.7431 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.625e-05/0.8559, allocations: 6.266 kB / 0.7431 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.8559, allocations: 0.6562 kB / 0.7431 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.8559, allocations: 1.125 kB / 0.7431 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.8559, allocations: 1.25 kB / 0.7431 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.8562, allocations: 174.4 kB / 0.7433 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.8562, allocations: 2.25 kB / 0.7433 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.106e-05/0.8562, allocations: 6.312 kB / 0.7433 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.738e-06/0.8562, allocations: 9.078 kB / 0.7433 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.8562, allocations: 0.75 kB / 0.7433 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.8562, allocations: 0 / 0.7433 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.8562, allocations: 4.625 kB / 0.7433 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003359/0.8566, allocations: 249.1 kB / 0.7435 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.8566, allocations: 84.64 kB / 0.7436 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.8567, allocations: 5.547 kB / 0.7436 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.883e-05/0.8568, allocations: 8.344 kB / 0.7436 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.875e-05/0.8568, allocations: 5.562 kB / 0.7436 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.8569, allocations: 4.938 kB / 0.7436 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.318e-05/0.8569, allocations: 94.56 kB / 0.7437 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8569, allocations: 3.875 kB / 0.7437 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005061/0.8575, allocations: 67.8 kB / 0.7438 GB, free: 107.8 MB / 0.5105 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.0003447/0.8578, allocations: 167.6 kB / 0.744 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003612/0.8582, allocations: 244.6 kB / 0.7442 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.8582, allocations: 3.531 kB / 0.7442 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.8583, allocations: 102.1 kB / 0.7443 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.8585, allocations: 3.188 kB / 0.7443 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000427/0.8589, allocations: 183.3 kB / 0.7445 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001723/0.8591, allocations: 0.6917 MB / 0.7451 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.821e-05/0.8591, allocations: 0 / 0.7451 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.689e-05/0.8592, allocations: 10.94 kB / 0.7452 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of SimCode: time 2.1e-07/0.8592, allocations: 0 / 0.7452 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.004794/0.864, allocations: 1.578 MB / 0.7467 GB, free: 106.6 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)