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.001504/0.001504, allocations: 103.3 kB / 16.4 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 195.8 kB / 17.34 MB, free: 5.766 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.739/0.739, allocations: 115.3 MB / 406.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002325/0.002325, allocations: 63.58 kB / 0.5572 GB, free: 32.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1861, allocations: 76.18 MB / 0.6316 GB, free: 4.918 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002766/0.189, allocations: 1.404 MB / 0.633 GB, free: 3.5 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.1904, allocations: 0.7839 MB / 0.6337 GB, free: 2.707 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.138e-05/0.1904, allocations: 0 / 0.6337 GB, free: 2.707 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 7.217e-05/0.1905, allocations: 3.938 kB / 0.6337 GB, free: 2.703 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.352e-05/0.1906, allocations: 4 kB / 0.6337 GB, free: 2.699 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007683/0.1914, allocations: 178.2 kB / 0.6339 GB, free: 2.527 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.1915, allocations: 43.92 kB / 0.634 GB, free: 2.484 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.865e-05/0.1916, allocations: 11.97 kB / 0.634 GB, free: 2.473 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.151e-05/0.1917, allocations: 12 kB / 0.634 GB, free: 2.461 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.472e-05/0.1917, allocations: 23.91 kB / 0.634 GB, free: 2.438 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.1918, allocations: 4 kB / 0.634 GB, free: 2.434 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003597/0.1921, allocations: 195.7 kB / 0.6342 GB, free: 2.242 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.377e-05/0.1922, allocations: 15.97 kB / 0.6342 GB, free: 2.227 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.019e-05/0.1922, allocations: 23.88 kB / 0.6342 GB, free: 2.203 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003204/0.1926, allocations: 194.3 kB / 0.6344 GB, free: 2.016 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1926, allocations: 0 / 0.6344 GB, free: 2.016 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1926, allocations: 0 / 0.6344 GB, free: 2.016 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1926, allocations: 0 / 0.6344 GB, free: 2.016 MB / 478.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.0005756/0.1932, allocations: 439.5 kB / 0.6348 GB, free: 1.527 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.1932, allocations: 12.03 kB / 0.6348 GB, free: 1.516 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.634e-05/0.1933, allocations: 34.75 kB / 0.6349 GB, free: 1.473 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.1933, allocations: 0.9375 kB / 0.6349 GB, free: 1.473 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.1935, allocations: 168.3 kB / 0.635 GB, free: 1.27 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.1935, allocations: 384 / 0.635 GB, free: 1.27 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.1935, allocations: 4.375 kB / 0.635 GB, free: 1.266 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.1937, allocations: 81.72 kB / 0.6351 GB, free: 1.18 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.1937, allocations: 0 / 0.6351 GB, free: 1.18 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.1937, allocations: 8 kB / 0.6351 GB, free: 1.172 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1938, allocations: 4 kB / 0.6351 GB, free: 1.168 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.1939, allocations: 43.97 kB / 0.6352 GB, free: 1.125 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004376/0.1943, allocations: 280.8 kB / 0.6354 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.1945, allocations: 58.55 kB / 0.6355 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.75e-05/0.1946, allocations: 52.84 kB / 0.6356 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.1946, allocations: 0 / 0.6356 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.1946, allocations: 38.56 kB / 0.6356 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1946, allocations: 0 / 0.6356 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.000399/0.195, allocations: 179.2 kB / 0.6358 GB, free: 456 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.1951, allocations: 89.09 kB / 0.6358 GB, free: 348 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.1952, allocations: 125.7 kB / 0.636 GB, free: 212 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.1952, allocations: 29.7 kB / 0.636 GB, free: 176 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.88e-05/0.1953, allocations: 88.16 kB / 0.6361 GB, free: 84 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.1953, allocations: 15.84 kB / 0.6361 GB, free: 68 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-05/0.1954, allocations: 17.72 kB / 0.6361 GB, free: 44 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1955, allocations: 322.8 kB / 0.6364 GB, free: 15.72 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.1956, allocations: 59.91 kB / 0.6365 GB, free: 15.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.774e-05/0.1957, allocations: 56.11 kB / 0.6365 GB, free: 15.61 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/0.1959, allocations: 197.9 kB / 0.6367 GB, free: 15.39 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.196, allocations: 0 / 0.6367 GB, free: 15.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002706/0.1962, allocations: 221 kB / 0.6369 GB, free: 15.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.148e-05/0.1963, allocations: 59.41 kB / 0.637 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.1963, allocations: 0 / 0.637 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.1963, allocations: 7.969 kB / 0.637 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.327e-05/0.1964, allocations: 4 kB / 0.637 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1964, allocations: 0 / 0.637 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.1965, allocations: 4 kB / 0.637 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.1965, allocations: 4 kB / 0.637 GB, free: 15.07 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.1966, allocations: 159.4 kB / 0.6372 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.1966, allocations: 7.906 kB / 0.6372 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.463e-05/0.1967, allocations: 7.906 kB / 0.6372 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1967, allocations: 0 / 0.6372 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1967, allocations: 0 / 0.6372 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.1967, allocations: 3.984 kB / 0.6372 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.1969, allocations: 169.6 kB / 0.6373 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1969, allocations: 0 / 0.6373 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.208e-05/0.1969, allocations: 7.984 kB / 0.6373 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1969, allocations: 0 / 0.6373 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.1969, allocations: 8 kB / 0.6374 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1969, allocations: 0 / 0.6374 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1969, allocations: 4.062 kB / 0.6374 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.1972, allocations: 249 kB / 0.6376 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.434e-05/0.1972, allocations: 84.98 kB / 0.6377 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.1973, allocations: 4 kB / 0.6377 GB, free: 14.26 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.758e-05/0.1973, allocations: 7.984 kB / 0.6377 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.1975, allocations: 11.97 kB / 0.6377 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.1975, allocations: 7.984 kB / 0.6377 GB, free: 14.23 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.283e-05/0.1975, allocations: 95.27 kB / 0.6378 GB, free: 14.14 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1975, allocations: 0 / 0.6378 GB, free: 14.14 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003182/0.1979, allocations: 56 kB / 0.6378 GB, free: 14.09 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006778/0.1986, allocations: 0.8351 MB / 0.6387 GB, free: 13.22 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003117/0.1989, allocations: 238.7 kB / 0.6389 GB, free: 12.96 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1989, allocations: 0 / 0.6389 GB, free: 12.96 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.199, allocations: 111.3 kB / 0.639 GB, free: 12.84 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.1992, allocations: 6.188 kB / 0.639 GB, free: 12.84 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.201, allocations: 1.741 MB / 0.6407 GB, free: 11 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.2012, allocations: 0.6924 MB / 0.6414 GB, free: 10.29 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.559e-05/0.2012, allocations: 0 / 0.6414 GB, free: 10.29 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.2013, allocations: 11.44 kB / 0.6414 GB, free: 10.27 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2013, allocations: 3.938 kB / 0.6414 GB, free: 10.27 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01935/0.2206, allocations: 2.837 MB / 0.6442 GB, free: 7.578 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.326/7.546, allocations: 14.61 kB / 0.6442 GB, free: 7.566 MB / 494.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/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)