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.001452/0.001452, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 188 kB / 16.62 MB, free: 6.582 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.359/1.359, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.628/1.628, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001425/0.001426, allocations: 67.44 kB / 0.6718 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2011, allocations: 114.6 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002424/0.2036, allocations: 1.434 MB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.2047, allocations: 0.8248 MB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.932e-05/0.2048, allocations: 0 / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.508e-05/0.2048, allocations: 3.938 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.891e-05/0.2049, allocations: 0 / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005636/0.2055, allocations: 179.7 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.76e-05/0.2056, allocations: 51.97 kB / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.686e-05/0.2056, allocations: 7.984 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.924e-05/0.2057, allocations: 11.94 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.65e-05/0.2057, allocations: 31.89 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.2058, allocations: 4 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002805/0.206, allocations: 195.7 kB / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.498e-05/0.2061, allocations: 7.984 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.145e-05/0.2061, allocations: 23.88 kB / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.2064, allocations: 187.6 kB / 0.7865 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2064, allocations: 4 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2064, allocations: 7.938 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2064, allocations: 0 / 0.7865 GB, free: 10.25 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.0004101/0.2068, allocations: 430.7 kB / 0.7869 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.2068, allocations: 12.03 kB / 0.787 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.277e-05/0.2069, allocations: 34.73 kB / 0.787 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.763e-05/0.2069, allocations: 4.938 kB / 0.787 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.521e-05/0.207, allocations: 172.3 kB / 0.7872 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.207, allocations: 4.375 kB / 0.7872 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.207, allocations: 7.938 kB / 0.7872 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.2072, allocations: 81.59 kB / 0.7872 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.611e-06/0.2072, allocations: 0 / 0.7872 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.2072, allocations: 0 / 0.7872 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.2072, allocations: 0 / 0.7872 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.2074, allocations: 43.97 kB / 0.7873 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003233/0.2077, allocations: 284.8 kB / 0.7876 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.2078, allocations: 58.55 kB / 0.7876 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.726e-05/0.2079, allocations: 48.84 kB / 0.7877 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.2079, allocations: 0 / 0.7877 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.2079, allocations: 30.56 kB / 0.7877 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.2079, allocations: 0 / 0.7877 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003342/0.2083, allocations: 191.2 kB / 0.7879 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.2083, allocations: 81.09 kB / 0.788 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.115e-05/0.2084, allocations: 121.8 kB / 0.7881 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.2084, allocations: 25.7 kB / 0.7881 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.761e-05/0.2085, allocations: 88.12 kB / 0.7882 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.184e-05/0.2085, allocations: 7.906 kB / 0.7882 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/0.2085, allocations: 21.72 kB / 0.7882 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.429e-05/0.2086, allocations: 330.7 kB / 0.7885 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.252e-05/0.2087, allocations: 55.91 kB / 0.7886 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.305e-05/0.2088, allocations: 55.97 kB / 0.7886 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.209, allocations: 197.9 kB / 0.7888 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.209, allocations: 0 / 0.7888 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000263/0.2093, allocations: 221 kB / 0.789 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.167e-05/0.2094, allocations: 63.41 kB / 0.7891 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.2094, allocations: 0 / 0.7891 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.2094, allocations: 4 kB / 0.7891 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.215e-05/0.2094, allocations: 7.984 kB / 0.7891 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.2094, allocations: 0 / 0.7891 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.358e-05/0.2095, allocations: 4 kB / 0.7891 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.2095, allocations: 3.938 kB / 0.7891 GB, free: 7.309 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 8.713e-05/0.2096, allocations: 151.5 kB / 0.7893 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.2096, allocations: 7.906 kB / 0.7893 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.968e-05/0.2097, allocations: 11.84 kB / 0.7893 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2097, allocations: 8 kB / 0.7893 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.2097, allocations: 0 / 0.7893 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.2097, allocations: 240 / 0.7893 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.2098, allocations: 177.5 kB / 0.7894 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.2098, allocations: 0 / 0.7894 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.827e-05/0.2099, allocations: 7.984 kB / 0.7895 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.2099, allocations: 3.984 kB / 0.7895 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.2099, allocations: 0 / 0.7895 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2099, allocations: 4 kB / 0.7895 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2099, allocations: 0 / 0.7895 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.2102, allocations: 249 kB / 0.7897 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.138e-05/0.2102, allocations: 81.11 kB / 0.7898 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.2102, allocations: 0 / 0.7898 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.679e-05/0.2103, allocations: 11.92 kB / 0.7898 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.97e-05/0.2104, allocations: 8 kB / 0.7898 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.2104, allocations: 0 / 0.7898 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.95e-05/0.2105, allocations: 95.7 kB / 0.7899 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2105, allocations: 3.969 kB / 0.7899 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002882/0.2108, allocations: 67.92 kB / 0.79 GB, free: 6.324 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.0005924/0.2114, allocations: 0.8234 MB / 0.7908 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002826/0.2117, allocations: 242.7 kB / 0.791 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2117, allocations: 4.031 kB / 0.791 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.2118, allocations: 107.4 kB / 0.7911 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.212, allocations: 6.656 kB / 0.7911 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.2136, allocations: 1.751 MB / 0.7928 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/0.2138, allocations: 0.6846 MB / 0.7935 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.533e-05/0.2138, allocations: 4 kB / 0.7935 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.749e-05/0.2138, allocations: 11.44 kB / 0.7935 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of SimCode: time 3.61e-07/0.2138, allocations: 4 kB / 0.7935 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01608/0.2299, allocations: 2.82 MB / 0.7963 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.802/7.032, allocations: 6.594 kB / 0.7963 GB, free: 15.84 MB / 0.6231 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)