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.001231/0.001231, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001316/0.001316, allocations: 197.9 kB / 16.14 MB, free: 6.695 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.226/1.226, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8421/0.8421, allocations: 135.1 MB / 425.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001083, allocations: 63.38 kB / 0.5048 GB, free: 5.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1255, allocations: 80.92 MB / 0.5838 GB, free: 4.934 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00257/0.1281, allocations: 1.473 MB / 0.5853 GB, free: 3.441 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.1292, allocations: 0.8152 MB / 0.5861 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.135e-05/0.1293, allocations: 0 / 0.5861 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.14e-05/0.1293, allocations: 0 / 0.5861 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.477e-05/0.1294, allocations: 0 / 0.5861 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004504/0.1298, allocations: 142.9 kB / 0.5862 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.765e-05/0.1299, allocations: 31.98 kB / 0.5862 GB, free: 2.457 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.374e-05/0.13, allocations: 7.984 kB / 0.5862 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.101e-05/0.13, allocations: 15.92 kB / 0.5863 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.085e-05/0.13, allocations: 19.97 kB / 0.5863 GB, free: 2.414 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.1301, allocations: 0 / 0.5863 GB, free: 2.414 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002557/0.1303, allocations: 187.7 kB / 0.5865 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.537e-05/0.1304, allocations: 7.938 kB / 0.5865 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.1304, allocations: 23.92 kB / 0.5865 GB, free: 2.199 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.1306, allocations: 199.7 kB / 0.5867 GB, free: 2.004 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1307, allocations: 0 / 0.5867 GB, free: 2.004 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.1307, allocations: 0 / 0.5867 GB, free: 2.004 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.1307, allocations: 0 / 0.5867 GB, free: 2.004 MB / 494.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.0004012/0.1311, allocations: 430.8 kB / 0.5871 GB, free: 1.523 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.1311, allocations: 8.031 kB / 0.5871 GB, free: 1.516 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.534e-05/0.1311, allocations: 30.75 kB / 0.5871 GB, free: 1.477 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.755e-05/0.1312, allocations: 8.844 kB / 0.5871 GB, free: 1.469 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.48e-05/0.1313, allocations: 176.4 kB / 0.5873 GB, free: 1.258 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.1313, allocations: 384 / 0.5873 GB, free: 1.258 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.1313, allocations: 11.94 kB / 0.5873 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.1315, allocations: 73.66 kB / 0.5874 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.1315, allocations: 0 / 0.5874 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.1315, allocations: 3.938 kB / 0.5874 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1315, allocations: 0 / 0.5874 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.1316, allocations: 51.95 kB / 0.5874 GB, free: 1.113 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003281/0.132, allocations: 280.7 kB / 0.5877 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.1321, allocations: 58.55 kB / 0.5878 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.992e-05/0.1322, allocations: 44.91 kB / 0.5878 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.186e-06/0.1322, allocations: 0 / 0.5878 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.1322, allocations: 42.5 kB / 0.5878 GB, free: 0.625 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.1322, allocations: 3.938 kB / 0.5878 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000329/0.1325, allocations: 183.3 kB / 0.588 GB, free: 440 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.1326, allocations: 81.11 kB / 0.5881 GB, free: 340 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.019e-05/0.1327, allocations: 121.8 kB / 0.5882 GB, free: 208 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.1327, allocations: 25.7 kB / 0.5882 GB, free: 176 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.203e-05/0.1327, allocations: 95.98 kB / 0.5883 GB, free: 76 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.332e-05/0.1328, allocations: 7.906 kB / 0.5883 GB, free: 68 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.9e-05/0.1328, allocations: 21.7 kB / 0.5884 GB, free: 40 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.923e-05/0.1329, allocations: 322.8 kB / 0.5887 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.292e-05/0.133, allocations: 59.97 kB / 0.5887 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.619e-05/0.1331, allocations: 59.95 kB / 0.5888 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/0.1333, allocations: 193.8 kB / 0.589 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1333, allocations: 0 / 0.589 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002506/0.1336, allocations: 213 kB / 0.5892 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.899e-05/0.1336, allocations: 63.39 kB / 0.5892 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.1336, allocations: 4 kB / 0.5892 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/0.1336, allocations: 0 / 0.5892 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.696e-05/0.1337, allocations: 4 kB / 0.5892 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.1337, allocations: 0 / 0.5892 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.604e-05/0.1337, allocations: 15.89 kB / 0.5892 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.1338, allocations: 12.05 kB / 0.5893 GB, free: 15.05 MB / 0.4981 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 8.701e-05/0.1339, allocations: 147.5 kB / 0.5894 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.1339, allocations: 3.984 kB / 0.5894 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.888e-05/0.1339, allocations: 15.84 kB / 0.5894 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.1339, allocations: 0 / 0.5894 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1339, allocations: 0 / 0.5894 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1339, allocations: 0 / 0.5894 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.1341, allocations: 177.5 kB / 0.5896 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1341, allocations: 0 / 0.5896 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.633e-05/0.1341, allocations: 4 kB / 0.5896 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.1341, allocations: 0 / 0.5896 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1341, allocations: 4 kB / 0.5896 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1341, allocations: 0 / 0.5896 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1341, allocations: 0 / 0.5896 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.1344, allocations: 257 kB / 0.5898 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.233e-05/0.1344, allocations: 81.34 kB / 0.5899 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.1344, allocations: 0 / 0.5899 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.792e-05/0.1345, allocations: 4 kB / 0.5899 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.326e-05/0.1346, allocations: 11.97 kB / 0.5899 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.1346, allocations: 0 / 0.5899 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.891e-05/0.1347, allocations: 99.27 kB / 0.59 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1347, allocations: 7.969 kB / 0.59 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002769/0.1349, allocations: 63.86 kB / 0.5901 GB, free: 14.08 MB / 0.4981 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.0005796/0.1355, allocations: 0.8234 MB / 0.5909 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002839/0.1358, allocations: 246.8 kB / 0.5911 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1358, allocations: 0 / 0.5911 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.136, allocations: 107.3 kB / 0.5912 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.1362, allocations: 7.938 kB / 0.5912 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.1377, allocations: 1.758 MB / 0.593 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/0.1379, allocations: 0.6848 MB / 0.5936 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.341e-05/0.1379, allocations: 4 kB / 0.5936 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.368e-05/0.1379, allocations: 11.44 kB / 0.5936 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1379, allocations: 0 / 0.5936 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2625/0.4005, allocations: 2.574 MB / 0.5962 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002238/0.4007, allocations: 237.6 kB / 0.5964 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/1.951, allocations: 4 kB / 0.5964 GB, free: 7.605 MB / 0.4981 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)