Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IDEAS_dev_IDEAS_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.0052/0.0052, allocations: 100.9 kB / 15.73 MB, free: 6.051 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.001274/0.001274, allocations: 192.9 kB / 16.67 MB, free: 5.969 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: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8288/0.8288, allocations: 135.6 MB / 426.1 MB, free: 3.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 66.81 kB / 0.5857 GB, free: 21.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.171, allocations: 81.04 MB / 0.6649 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002681/0.1738, allocations: 1.402 MB / 0.6663 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.1751, allocations: 0.784 MB / 0.667 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.271e-05/0.1752, allocations: 0 / 0.667 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.929e-05/0.1752, allocations: 3.938 kB / 0.667 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.437e-05/0.1753, allocations: 0 / 0.667 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006819/0.176, allocations: 175.8 kB / 0.6672 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000126/0.1761, allocations: 51.94 kB / 0.6672 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.47e-05/0.1762, allocations: 15.88 kB / 0.6673 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.241e-05/0.1763, allocations: 15.98 kB / 0.6673 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.887e-05/0.1763, allocations: 19.92 kB / 0.6673 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.1764, allocations: 8 kB / 0.6673 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000385/0.1768, allocations: 203.7 kB / 0.6675 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.781e-05/0.1768, allocations: 7.938 kB / 0.6675 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.321e-05/0.1769, allocations: 19.92 kB / 0.6675 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000324/0.1772, allocations: 195.4 kB / 0.6677 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1772, allocations: 4 kB / 0.6677 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.634e-06/0.1772, allocations: 0 / 0.6677 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.1772, allocations: 0 / 0.6677 GB, free: 2.684 MB / 0.4981 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.0005838/0.1778, allocations: 426.5 kB / 0.6681 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.1779, allocations: 13.11 kB / 0.6681 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.091e-05/0.1779, allocations: 34.75 kB / 0.6682 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.29e-05/0.178, allocations: 4.938 kB / 0.6682 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.1781, allocations: 176.3 kB / 0.6683 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.1781, allocations: 4.125 kB / 0.6683 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.1782, allocations: 8 kB / 0.6683 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.1784, allocations: 69.67 kB / 0.6684 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1784, allocations: 0 / 0.6684 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.1784, allocations: 3.938 kB / 0.6684 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1784, allocations: 0 / 0.6684 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.1785, allocations: 51.95 kB / 0.6685 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004482/0.179, allocations: 280.9 kB / 0.6687 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.1791, allocations: 54.56 kB / 0.6688 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.768e-05/0.1792, allocations: 44.91 kB / 0.6688 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.1793, allocations: 3.938 kB / 0.6688 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/0.1793, allocations: 42.5 kB / 0.6689 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.1793, allocations: 0 / 0.6689 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004291/0.1798, allocations: 187.3 kB / 0.6691 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.1798, allocations: 77.11 kB / 0.6691 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.1799, allocations: 125.8 kB / 0.6692 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.18, allocations: 25.7 kB / 0.6693 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.856e-05/0.18, allocations: 88.14 kB / 0.6694 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.1801, allocations: 11.94 kB / 0.6694 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.335e-05/0.1801, allocations: 25.7 kB / 0.6694 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1803, allocations: 318.8 kB / 0.6697 GB, free: 412 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.1804, allocations: 59.95 kB / 0.6697 GB, free: 352 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.1805, allocations: 59.97 kB / 0.6698 GB, free: 292 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.1808, allocations: 193.8 kB / 0.67 GB, free: 76 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1808, allocations: 0 / 0.67 GB, free: 76 kB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003236/0.1811, allocations: 225 kB / 0.6702 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.802e-05/0.1812, allocations: 67.39 kB / 0.6703 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1812, allocations: 0 / 0.6703 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1812, allocations: 0 / 0.6703 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.857e-05/0.1813, allocations: 4 kB / 0.6703 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.1813, allocations: 0 / 0.6703 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.002e-05/0.1813, allocations: 19.88 kB / 0.6703 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.1814, allocations: 3.938 kB / 0.6703 GB, free: 15.73 MB / 0.5137 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 0.0001153/0.1815, allocations: 147.5 kB / 0.6704 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.1815, allocations: 8 kB / 0.6704 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.191e-05/0.1816, allocations: 11.84 kB / 0.6705 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1816, allocations: 0 / 0.6705 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1816, allocations: 0 / 0.6705 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1816, allocations: 0 / 0.6705 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.1818, allocations: 173.8 kB / 0.6706 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1818, allocations: 0 / 0.6706 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.642e-05/0.1818, allocations: 4 kB / 0.6706 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1818, allocations: 3.938 kB / 0.6706 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.1818, allocations: 7.984 kB / 0.6706 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1818, allocations: 4 kB / 0.6706 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1819, allocations: 0 / 0.6706 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/0.1822, allocations: 253.1 kB / 0.6709 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.958e-05/0.1822, allocations: 85.06 kB / 0.671 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.1822, allocations: 0 / 0.671 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.786e-05/0.1823, allocations: 4 kB / 0.671 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.1825, allocations: 7.984 kB / 0.671 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.1825, allocations: 4.031 kB / 0.671 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.269e-05/0.1826, allocations: 103.6 kB / 0.6711 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1826, allocations: 3.938 kB / 0.6711 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003174/0.1829, allocations: 59.86 kB / 0.6711 GB, free: 14.76 MB / 0.5137 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.0007616/0.1837, allocations: 0.8248 MB / 0.6719 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003571/0.184, allocations: 238.7 kB / 0.6722 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.184, allocations: 0 / 0.6722 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.1842, allocations: 107.3 kB / 0.6723 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.1844, allocations: 336 / 0.6723 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001946/0.1864, allocations: 1.771 MB / 0.674 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.1867, allocations: 0.6924 MB / 0.6747 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.711e-05/0.1867, allocations: 7.938 kB / 0.6747 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.097e-05/0.1867, allocations: 11.44 kB / 0.6747 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of SimCode: time 4.6e-07/0.1867, allocations: 0 / 0.6747 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02863/0.2154, allocations: 2.821 MB / 0.6775 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.06/8.276, allocations: 0 / 0.6775 GB, free: 8.246 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)