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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 95.88 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 176.1 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6996/0.6996, allocations: 113.7 MB / 405.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000464/0.000464, allocations: 12 kB / 493 MB, free: 8.617 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1834, allocations: 77.11 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001522/0.185, allocations: 1.13 MB / 0.5578 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.1862, allocations: 0.7261 MB / 0.5585 GB, free: 9.836 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.797e-05/0.1862, allocations: 0 / 0.5585 GB, free: 9.836 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 5.999e-05/0.1863, allocations: 4 kB / 0.5586 GB, free: 9.832 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.989e-05/0.1863, allocations: 3.984 kB / 0.5586 GB, free: 9.828 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005333/0.1869, allocations: 115.7 kB / 0.5587 GB, free: 9.715 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.302e-05/0.1869, allocations: 23.95 kB / 0.5587 GB, free: 9.691 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.378e-05/0.187, allocations: 7.938 kB / 0.5587 GB, free: 9.684 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.788e-05/0.1871, allocations: 15.98 kB / 0.5587 GB, free: 9.668 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.377e-05/0.1871, allocations: 19.92 kB / 0.5587 GB, free: 9.648 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.1872, allocations: 4 kB / 0.5587 GB, free: 9.645 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002554/0.1874, allocations: 167.7 kB / 0.5589 GB, free: 9.48 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.91e-05/0.1875, allocations: 4 kB / 0.5589 GB, free: 9.477 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.586e-05/0.1875, allocations: 33.69 kB / 0.5589 GB, free: 9.438 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.1877, allocations: 127.8 kB / 0.5591 GB, free: 9.312 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1877, allocations: 0 / 0.5591 GB, free: 9.312 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1877, allocations: 0 / 0.5591 GB, free: 9.312 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1877, allocations: 0 / 0.5591 GB, free: 9.312 MB / 430.1 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.0004513/0.1882, allocations: 426.9 kB / 0.5595 GB, free: 8.836 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.1882, allocations: 8.031 kB / 0.5595 GB, free: 8.828 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.536e-05/0.1883, allocations: 34.5 kB / 0.5595 GB, free: 8.785 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.867e-05/0.1883, allocations: 7.906 kB / 0.5595 GB, free: 8.777 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.1884, allocations: 171 kB / 0.5597 GB, free: 8.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.1884, allocations: 0 / 0.5597 GB, free: 8.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.1885, allocations: 11.89 kB / 0.5597 GB, free: 8.559 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.1886, allocations: 77.66 kB / 0.5598 GB, free: 8.477 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.1887, allocations: 4 kB / 0.5598 GB, free: 8.473 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.1887, allocations: 4 kB / 0.5598 GB, free: 8.469 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1887, allocations: 0 / 0.5598 GB, free: 8.469 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.1888, allocations: 47.97 kB / 0.5598 GB, free: 8.422 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.1892, allocations: 284.7 kB / 0.5601 GB, free: 8.094 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.1893, allocations: 58.56 kB / 0.5601 GB, free: 8.027 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.1893, allocations: 7.969 kB / 0.5601 GB, free: 8.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.1894, allocations: 34.59 kB / 0.5602 GB, free: 7.977 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1894, allocations: 0 / 0.5602 GB, free: 7.977 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004142/0.1898, allocations: 268.4 kB / 0.5604 GB, free: 7.684 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.1898, allocations: 85.12 kB / 0.5605 GB, free: 7.582 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.019e-05/0.1899, allocations: 119.3 kB / 0.5606 GB, free: 7.457 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.19, allocations: 29.7 kB / 0.5607 GB, free: 7.422 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/0.19, allocations: 92.03 kB / 0.5607 GB, free: 7.328 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.19, allocations: 11.84 kB / 0.5608 GB, free: 7.316 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-06/0.19, allocations: 0 / 0.5608 GB, free: 7.316 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.951e-05/0.1901, allocations: 314.8 kB / 0.5611 GB, free: 7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.1903, allocations: 67.95 kB / 0.5611 GB, free: 6.934 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.913e-05/0.1904, allocations: 55.97 kB / 0.5612 GB, free: 6.879 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.1905, allocations: 111.4 kB / 0.5613 GB, free: 6.758 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1905, allocations: 4 kB / 0.5613 GB, free: 6.754 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002913/0.1908, allocations: 229 kB / 0.5615 GB, free: 6.512 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.678e-05/0.1909, allocations: 63.41 kB / 0.5616 GB, free: 6.438 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.1909, allocations: 4 kB / 0.5616 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1909, allocations: 4 kB / 0.5616 GB, free: 6.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.397e-05/0.191, allocations: 7.984 kB / 0.5616 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.191, allocations: 0 / 0.5616 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.191, allocations: 7.906 kB / 0.5616 GB, free: 6.414 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.191, allocations: 4 kB / 0.5616 GB, free: 6.41 MB / 430.1 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.0001023/0.1911, allocations: 147.5 kB / 0.5617 GB, free: 6.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.1912, allocations: 11.89 kB / 0.5617 GB, free: 6.238 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.908e-05/0.1912, allocations: 7.906 kB / 0.5617 GB, free: 6.227 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1912, allocations: 0 / 0.5617 GB, free: 6.227 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1912, allocations: 0 / 0.5617 GB, free: 6.227 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.1912, allocations: 240 / 0.5617 GB, free: 6.227 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.1914, allocations: 173.6 kB / 0.5619 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1914, allocations: 0 / 0.5619 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.898e-05/0.1914, allocations: 4 kB / 0.5619 GB, free: 6.004 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.1914, allocations: 11.92 kB / 0.5619 GB, free: 5.992 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.1915, allocations: 0 / 0.5619 GB, free: 5.992 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1915, allocations: 0 / 0.5619 GB, free: 5.992 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1915, allocations: 8 kB / 0.5619 GB, free: 5.984 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.1917, allocations: 253 kB / 0.5622 GB, free: 5.715 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.365e-05/0.1918, allocations: 77.11 kB / 0.5623 GB, free: 5.621 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.1918, allocations: 7.953 kB / 0.5623 GB, free: 5.613 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.294e-05/0.1919, allocations: 7.984 kB / 0.5623 GB, free: 5.605 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.353e-05/0.192, allocations: 12.02 kB / 0.5623 GB, free: 5.594 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.192, allocations: 0 / 0.5623 GB, free: 5.594 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.928e-05/0.1921, allocations: 104.8 kB / 0.5624 GB, free: 5.492 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1921, allocations: 0 / 0.5624 GB, free: 5.492 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003081/0.1924, allocations: 59.98 kB / 0.5624 GB, free: 5.434 MB / 430.1 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.0006345/0.193, allocations: 0.8357 MB / 0.5633 GB, free: 4.566 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003122/0.1933, allocations: 234.7 kB / 0.5635 GB, free: 4.312 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1934, allocations: 0 / 0.5635 GB, free: 4.312 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.1935, allocations: 107.4 kB / 0.5636 GB, free: 4.195 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.1936, allocations: 8.047 kB / 0.5636 GB, free: 4.188 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005671/0.1942, allocations: 406.5 kB / 0.564 GB, free: 3.746 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.1945, allocations: 0.6887 MB / 0.5646 GB, free: 3.031 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.694e-05/0.1945, allocations: 4 kB / 0.5646 GB, free: 3.027 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.621e-05/0.1945, allocations: 19.38 kB / 0.5647 GB, free: 3.008 MB / 430.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1945, allocations: 0 / 0.5647 GB, free: 3.008 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09041/0.2849, allocations: 2.497 MB / 0.5671 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003011/0.2853, allocations: 210.3 kB / 0.5673 GB, free: 488 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.944/2.23, allocations: 4 kB / 0.5673 GB, free: 484 kB / 430.1 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) Environment - environmentSimulation: