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.7844/0.7844, allocations: 127.3 MB / 139.8 MB, free: 15.42 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 180.8 kB / 169.7 MB, free: 1.727 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.913/1.913, allocations: 205.1 MB / 404.5 MB, free: 1.59 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.0009084/0.0009084, allocations: 90.44 kB / 481.8 MB, free: 4.234 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.61e-05/3.612e-05, allocations: 0 / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1766, allocations: 76.77 MB / 0.6283 GB, free: 9.895 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6118/0.7884, allocations: 104.1 MB / 0.73 GB, free: 9.234 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.7887, allocations: 97.11 kB / 0.7301 GB, free: 9.176 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00967/0.7984, allocations: 3.282 MB / 0.7333 GB, free: 6.285 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.7985, allocations: 4 kB / 0.7333 GB, free: 6.281 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.7985, allocations: 0 / 0.7333 GB, free: 6.281 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.000523/0.799, allocations: 432.6 kB / 0.7337 GB, free: 5.809 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.7991, allocations: 11.97 kB / 0.7337 GB, free: 5.797 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.776e-05/0.7991, allocations: 30.56 kB / 0.7337 GB, free: 5.758 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.871e-05/0.7992, allocations: 16.45 kB / 0.7337 GB, free: 5.746 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.7993, allocations: 166.6 kB / 0.7339 GB, free: 5.547 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.7993, allocations: 3.938 kB / 0.7339 GB, free: 5.543 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.7994, allocations: 8 kB / 0.7339 GB, free: 5.535 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.7995, allocations: 68.92 kB / 0.734 GB, free: 5.469 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.7996, allocations: 0 / 0.734 GB, free: 5.469 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.7996, allocations: 0 / 0.734 GB, free: 5.469 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.7996, allocations: 0 / 0.734 GB, free: 5.469 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.466e-05/0.7997, allocations: 46.31 kB / 0.734 GB, free: 5.434 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004617/0.8001, allocations: 278.8 kB / 0.7343 GB, free: 5.129 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.8003, allocations: 62.3 kB / 0.7344 GB, free: 5.066 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.098e-05/0.8003, allocations: 39.55 kB / 0.7344 GB, free: 5.031 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.8003, allocations: 0 / 0.7344 GB, free: 5.031 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.8004, allocations: 33.94 kB / 0.7344 GB, free: 4.992 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.8004, allocations: 0 / 0.7344 GB, free: 4.992 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.000276/0.8007, allocations: 141.8 kB / 0.7346 GB, free: 4.855 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.8007, allocations: 77.11 kB / 0.7346 GB, free: 4.762 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.8008, allocations: 116 kB / 0.7347 GB, free: 4.648 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.8009, allocations: 29.7 kB / 0.7348 GB, free: 4.613 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.81e-05/0.8009, allocations: 87.88 kB / 0.7349 GB, free: 4.527 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.801, allocations: 15.19 kB / 0.7349 GB, free: 4.516 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-06/0.801, allocations: 0 / 0.7349 GB, free: 4.516 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.8011, allocations: 310.8 kB / 0.7352 GB, free: 4.203 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.423e-05/0.8012, allocations: 53.84 kB / 0.7352 GB, free: 4.164 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.52e-05/0.8013, allocations: 54.22 kB / 0.7353 GB, free: 4.121 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.986e-05/0.8014, allocations: 106.2 kB / 0.7354 GB, free: 4.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.8014, allocations: 4 kB / 0.7354 GB, free: 4.016 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002375/0.8016, allocations: 202.4 kB / 0.7356 GB, free: 3.824 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.072e-05/0.8017, allocations: 64.33 kB / 0.7356 GB, free: 3.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.8017, allocations: 0 / 0.7356 GB, free: 3.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.8017, allocations: 0 / 0.7356 GB, free: 3.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.99e-05/0.8018, allocations: 7.938 kB / 0.7356 GB, free: 3.742 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.8018, allocations: 3.953 kB / 0.7356 GB, free: 3.738 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.46e-05/0.8019, allocations: 12.86 kB / 0.7357 GB, free: 3.727 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.758e-05/0.8019, allocations: 4 kB / 0.7357 GB, free: 3.723 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.00014/0.8021, allocations: 138.4 kB / 0.7358 GB, free: 3.578 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.8021, allocations: 7.906 kB / 0.7358 GB, free: 3.57 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.669e-05/0.8022, allocations: 8.016 kB / 0.7358 GB, free: 3.562 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.8022, allocations: 0 / 0.7358 GB, free: 3.562 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.8022, allocations: 0 / 0.7358 GB, free: 3.562 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.8022, allocations: 7.891 kB / 0.7358 GB, free: 3.555 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.8024, allocations: 175.7 kB / 0.736 GB, free: 3.344 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.8024, allocations: 4.062 kB / 0.736 GB, free: 3.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.89e-05/0.8025, allocations: 4 kB / 0.736 GB, free: 3.336 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.8025, allocations: 4 kB / 0.736 GB, free: 3.332 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.8025, allocations: 0 / 0.736 GB, free: 3.332 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.8025, allocations: 0 / 0.736 GB, free: 3.332 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.8025, allocations: 0 / 0.736 GB, free: 3.332 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.8028, allocations: 252.6 kB / 0.7362 GB, free: 3.082 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.654e-05/0.8029, allocations: 77.11 kB / 0.7363 GB, free: 2.988 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.8029, allocations: 4 kB / 0.7363 GB, free: 2.984 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.058e-05/0.803, allocations: 8.031 kB / 0.7363 GB, free: 2.977 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.098e-05/0.8031, allocations: 15.59 kB / 0.7363 GB, free: 2.965 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.8031, allocations: 0 / 0.7363 GB, free: 2.965 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.509e-05/0.8032, allocations: 94.7 kB / 0.7364 GB, free: 2.875 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8032, allocations: 0 / 0.7364 GB, free: 2.875 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003114/0.8035, allocations: 75.5 kB / 0.7365 GB, free: 2.805 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.0007289/0.8042, allocations: 0.8396 MB / 0.7373 GB, free: 1.953 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002857/0.8045, allocations: 227 kB / 0.7375 GB, free: 1.738 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8045, allocations: 0 / 0.7375 GB, free: 1.738 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.519e-05/0.8046, allocations: 99.39 kB / 0.7376 GB, free: 1.641 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.8048, allocations: 1.828 kB / 0.7376 GB, free: 1.641 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004712/0.8053, allocations: 192.6 kB / 0.7378 GB, free: 1.434 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.8056, allocations: 0.6888 MB / 0.7385 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.685e-05/0.8056, allocations: 4 kB / 0.7385 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.937e-05/0.8057, allocations: 12.75 kB / 0.7385 GB, free: 0.707 MB / 490.7 MB Notification: Performance of SimCode: time 2.31e-07/0.8057, allocations: 0 / 0.7385 GB, free: 0.707 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0148/0.8205, allocations: 2.515 MB / 0.741 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/0.8207, allocations: 197.8 kB / 0.7411 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.695/2.516, allocations: 2.812 kB / 0.7411 GB, free: 14.16 MB / 0.4948 GB (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)