Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_8_Buildings_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.00155/0.00155, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001779/0.001779, allocations: 191.6 kB / 16.13 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.272/1.272, allocations: 205.1 MB / 222 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.632/1.632, allocations: 292.3 MB / 0.5484 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 69.94 kB / 0.6709 GB, free: 26.54 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1762, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002425/0.1787, allocations: 1.503 MB / 0.7843 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.1799, allocations: 0.8562 MB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.37e-05/0.1799, allocations: 4 kB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.855e-05/0.18, allocations: 3.938 kB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.82e-05/0.18, allocations: 0 / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004606/0.1805, allocations: 127.8 kB / 0.7852 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.559e-05/0.1806, allocations: 43.89 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.151e-05/0.1807, allocations: 12.22 kB / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.885e-05/0.1807, allocations: 11.98 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.359e-05/0.1808, allocations: 19.92 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.1808, allocations: 0 / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002826/0.1811, allocations: 187.7 kB / 0.7855 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.804e-05/0.1811, allocations: 11.98 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.432e-05/0.1811, allocations: 19.86 kB / 0.7855 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.1814, allocations: 187.6 kB / 0.7857 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.1814, allocations: 0 / 0.7857 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.11e-07/0.1814, allocations: 4 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.1814, allocations: 0 / 0.7857 GB, free: 10.91 MB / 0.6075 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.0004355/0.1819, allocations: 434.7 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.1819, allocations: 12.03 kB / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.866e-05/0.1819, allocations: 34.75 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.897e-05/0.182, allocations: 8.938 kB / 0.7862 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.1821, allocations: 172.2 kB / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.1821, allocations: 4.375 kB / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.1821, allocations: 3.938 kB / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.1823, allocations: 77.66 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.1823, allocations: 3.938 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.1823, allocations: 4 kB / 0.7864 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.1823, allocations: 0 / 0.7864 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.1824, allocations: 43.97 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000344/0.1828, allocations: 276.9 kB / 0.7867 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.1829, allocations: 66.52 kB / 0.7868 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.171e-05/0.183, allocations: 44.89 kB / 0.7868 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.328e-06/0.183, allocations: 0 / 0.7868 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.1831, allocations: 30.56 kB / 0.7869 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1831, allocations: 0 / 0.7869 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003515/0.1834, allocations: 191.2 kB / 0.7871 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.1835, allocations: 81.11 kB / 0.7871 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.545e-05/0.1836, allocations: 129.8 kB / 0.7873 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.1836, allocations: 29.73 kB / 0.7873 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.762e-05/0.1836, allocations: 84.14 kB / 0.7874 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.435e-05/0.1837, allocations: 11.89 kB / 0.7874 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.1837, allocations: 21.72 kB / 0.7874 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.313e-05/0.1838, allocations: 318.7 kB / 0.7877 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.1839, allocations: 59.95 kB / 0.7878 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.131e-05/0.184, allocations: 55.97 kB / 0.7878 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.1842, allocations: 197.9 kB / 0.788 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1842, allocations: 0 / 0.788 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002709/0.1845, allocations: 216.9 kB / 0.7882 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.492e-05/0.1846, allocations: 67.39 kB / 0.7883 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.1846, allocations: 4 kB / 0.7883 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.837e-06/0.1846, allocations: 0 / 0.7883 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.753e-05/0.1847, allocations: 0 / 0.7883 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.1847, allocations: 7.984 kB / 0.7883 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.279e-05/0.1847, allocations: 4 kB / 0.7883 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.1847, allocations: 0 / 0.7883 GB, free: 7.973 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.799e-05/0.1848, allocations: 155.5 kB / 0.7884 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.1849, allocations: 7.906 kB / 0.7884 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.861e-05/0.1849, allocations: 3.906 kB / 0.7884 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1849, allocations: 4.234 kB / 0.7885 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1849, allocations: 64 / 0.7885 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1849, allocations: 7.984 kB / 0.7885 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.1851, allocations: 173.6 kB / 0.7886 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1851, allocations: 0 / 0.7886 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.88e-05/0.1851, allocations: 8 kB / 0.7886 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1851, allocations: 0 / 0.7886 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.1851, allocations: 3.984 kB / 0.7886 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1851, allocations: 4 kB / 0.7886 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1851, allocations: 3.938 kB / 0.7886 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.1854, allocations: 253 kB / 0.7889 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.278e-05/0.1855, allocations: 85.05 kB / 0.789 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.1855, allocations: 0 / 0.789 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.997e-05/0.1856, allocations: 12.02 kB / 0.789 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.292e-05/0.1856, allocations: 8 kB / 0.789 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.1857, allocations: 0 / 0.789 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.193e-05/0.1857, allocations: 95.27 kB / 0.7891 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1857, allocations: 3.938 kB / 0.7891 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002865/0.186, allocations: 63.92 kB / 0.7891 GB, free: 6.984 MB / 0.6075 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 (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.0006449/0.1867, allocations: 0.8311 MB / 0.79 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002939/0.187, allocations: 238.7 kB / 0.7902 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.187, allocations: 0 / 0.7902 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.1871, allocations: 99.38 kB / 0.7903 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.1873, allocations: 8 kB / 0.7903 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.189, allocations: 1.765 MB / 0.792 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.1892, allocations: 0.6809 MB / 0.7927 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.349e-05/0.1893, allocations: 0 / 0.7927 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.565e-05/0.1893, allocations: 19.42 kB / 0.7927 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of SimCode: time 2.535e-06/0.1893, allocations: 4 kB / 0.7927 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.094/2.283, allocations: 2.594 MB / 0.7952 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003114/2.284, allocations: 237.8 kB / 0.7955 GB, free: 488 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/3.98, allocations: 2.75 kB / 0.7955 GB, free: 488 kB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)