Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IDEAS_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.000758/0.000758, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0008087/0.0008086, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7356/0.7356, allocations: 132.3 MB / 423.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003518, allocations: 8 kB / 0.5035 GB, free: 4.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.4033, allocations: 81.57 MB / 0.5832 GB, free: 3.875 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001516/0.4048, allocations: 1.146 MB / 0.5843 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.406, allocations: 0.7369 MB / 0.585 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.358e-05/0.4061, allocations: 0.5938 kB / 0.585 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 5.272e-05/0.4061, allocations: 2.094 kB / 0.585 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.568e-05/0.4062, allocations: 1.297 kB / 0.585 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006174/0.4068, allocations: 129.6 kB / 0.5851 GB, free: 2.488 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.895e-05/0.4069, allocations: 32.05 kB / 0.5852 GB, free: 2.477 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.25e-05/0.407, allocations: 4.438 kB / 0.5852 GB, free: 2.477 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.859e-05/0.407, allocations: 17.88 kB / 0.5852 GB, free: 2.469 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.7e-05/0.4071, allocations: 22.94 kB / 0.5852 GB, free: 2.457 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.4071, allocations: 6.094 kB / 0.5852 GB, free: 2.453 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004045/0.4075, allocations: 174.6 kB / 0.5854 GB, free: 2.414 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.388e-05/0.4076, allocations: 5.641 kB / 0.5854 GB, free: 2.414 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.908e-05/0.4076, allocations: 37.77 kB / 0.5854 GB, free: 2.375 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.4078, allocations: 134 kB / 0.5855 GB, free: 2.348 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.4079, allocations: 0 / 0.5855 GB, free: 2.348 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4079, allocations: 5.062 kB / 0.5856 GB, free: 2.344 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.4079, allocations: 0 / 0.5856 GB, free: 2.344 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.0003944/0.4083, allocations: 423.3 kB / 0.586 GB, free: 1.902 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.4083, allocations: 10.03 kB / 0.586 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.032e-05/0.4084, allocations: 31.83 kB / 0.586 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.532e-05/0.4084, allocations: 11.23 kB / 0.586 GB, free: 1.855 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.178e-05/0.4085, allocations: 175.5 kB / 0.5862 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.4085, allocations: 5.656 kB / 0.5862 GB, free: 1.645 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.4085, allocations: 2.688 kB / 0.5862 GB, free: 1.645 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.4087, allocations: 74.75 kB / 0.5863 GB, free: 1.605 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.4087, allocations: 0.7031 kB / 0.5863 GB, free: 1.605 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.4087, allocations: 0.7812 kB / 0.5863 GB, free: 1.605 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.4087, allocations: 0 / 0.5863 GB, free: 1.605 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.4089, allocations: 58.03 kB / 0.5863 GB, free: 1.59 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003332/0.4092, allocations: 275.7 kB / 0.5866 GB, free: 1.309 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.4093, allocations: 58.19 kB / 0.5866 GB, free: 1.277 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.993e-05/0.4094, allocations: 56.48 kB / 0.5867 GB, free: 1.254 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.4095, allocations: 0.8125 kB / 0.5867 GB, free: 1.254 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.4095, allocations: 31.98 kB / 0.5867 GB, free: 1.215 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.4095, allocations: 0 / 0.5867 GB, free: 1.215 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003924/0.4099, allocations: 193.1 kB / 0.5869 GB, free: 1.121 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.4099, allocations: 83.14 kB / 0.587 GB, free: 1.023 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.236e-05/0.41, allocations: 125.9 kB / 0.5871 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.41, allocations: 31.05 kB / 0.5871 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.329e-05/0.4101, allocations: 83.59 kB / 0.5872 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.4101, allocations: 10.02 kB / 0.5872 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-06/0.4101, allocations: 1.25 kB / 0.5872 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.517e-05/0.4101, allocations: 314.7 kB / 0.5875 GB, free: 488 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.4103, allocations: 59.75 kB / 0.5876 GB, free: 476 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.208e-05/0.4104, allocations: 62.88 kB / 0.5876 GB, free: 460 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.4105, allocations: 116.9 kB / 0.5877 GB, free: 380 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.4105, allocations: 0.5625 kB / 0.5877 GB, free: 380 kB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000279/0.4108, allocations: 225.7 kB / 0.588 GB, free: 248 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.024e-05/0.4108, allocations: 66 kB / 0.588 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.4108, allocations: 0.6562 kB / 0.588 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.4109, allocations: 0 / 0.588 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.385e-05/0.4109, allocations: 13.45 kB / 0.588 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.4109, allocations: 9.234 kB / 0.588 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.05e-05/0.411, allocations: 11.59 kB / 0.5881 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.411, allocations: 2.156 kB / 0.5881 GB, free: 160 kB / 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 7.5e-05/0.4111, allocations: 152.1 kB / 0.5882 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.733e-05/0.4111, allocations: 10.81 kB / 0.5882 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.174e-05/0.4112, allocations: 7.047 kB / 0.5882 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4112, allocations: 4.656 kB / 0.5882 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.4112, allocations: 0.8438 kB / 0.5882 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.4112, allocations: 3.781 kB / 0.5882 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.4114, allocations: 175.1 kB / 0.5884 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4114, allocations: 1.25 kB / 0.5884 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.013e-05/0.4114, allocations: 5.047 kB / 0.5884 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.4114, allocations: 0 / 0.5884 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.4114, allocations: 2.469 kB / 0.5884 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4114, allocations: 0 / 0.5884 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.4115, allocations: 0.75 kB / 0.5884 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002825/0.4118, allocations: 260.2 kB / 0.5887 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.569e-05/0.4118, allocations: 81.98 kB / 0.5887 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.4118, allocations: 1.969 kB / 0.5887 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7e-05/0.4119, allocations: 7.625 kB / 0.5887 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.134e-05/0.412, allocations: 9.422 kB / 0.5888 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/0.412, allocations: 5.875 kB / 0.5888 GB, free: 15.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.971e-05/0.4121, allocations: 99.11 kB / 0.5889 GB, free: 15.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4121, allocations: 0 / 0.5889 GB, free: 15.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003712/0.4125, allocations: 58.19 kB / 0.5889 GB, free: 15.39 MB / 446.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.0007154/0.4132, allocations: 0.8326 MB / 0.5897 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003283/0.4135, allocations: 245.8 kB / 0.59 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4135, allocations: 0 / 0.59 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.4137, allocations: 102.2 kB / 0.5901 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.4139, allocations: 11.3 kB / 0.5901 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.4151, allocations: 0.7241 MB / 0.5908 GB, free: 13.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.4153, allocations: 0.6926 MB / 0.5914 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.517e-05/0.4154, allocations: 1.453 kB / 0.5914 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.695e-05/0.4154, allocations: 12.94 kB / 0.5915 GB, free: 13.27 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4154, allocations: 1.812 kB / 0.5915 GB, free: 13.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.502/1.918, allocations: 2.526 MB / 0.5939 GB, free: 13.09 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003004/1.918, allocations: 212.6 kB / 0.5941 GB, free: 12.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.815/3.733, allocations: 0 / 0.5941 GB, free: 12.86 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) Environment - environmentSimulation: