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.0009035/0.0009038, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009329/0.0009332, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.396/1.396, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.664/1.664, allocations: 292.7 MB / 0.5499 GB, free: 14.53 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.0004986/0.0004987, allocations: 16.06 kB / 0.6738 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2237, allocations: 116.3 MB / 0.7874 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001596/0.2254, allocations: 1.153 MB / 0.7885 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.2265, allocations: 0.7826 MB / 0.7893 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.951e-05/0.2266, allocations: 0 / 0.7893 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.722e-05/0.2266, allocations: 0 / 0.7893 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.443e-05/0.2267, allocations: 8 kB / 0.7893 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004966/0.2272, allocations: 127.7 kB / 0.7894 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.981e-05/0.2273, allocations: 35.92 kB / 0.7895 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.644e-05/0.2274, allocations: 4.266 kB / 0.7895 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.767e-05/0.2274, allocations: 19.92 kB / 0.7895 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.871e-05/0.2274, allocations: 15.98 kB / 0.7895 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.2275, allocations: 7.938 kB / 0.7895 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002656/0.2277, allocations: 175.7 kB / 0.7897 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.924e-05/0.2278, allocations: 7.984 kB / 0.7897 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.869e-05/0.2278, allocations: 29.7 kB / 0.7897 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.228, allocations: 131.7 kB / 0.7898 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.228, allocations: 0 / 0.7898 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.653e-06/0.228, allocations: 0 / 0.7898 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.228, allocations: 0 / 0.7898 GB, free: 9.289 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.000437/0.2285, allocations: 426.7 kB / 0.7902 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.2285, allocations: 12.02 kB / 0.7903 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.519e-05/0.2286, allocations: 38.5 kB / 0.7903 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.459e-05/0.2286, allocations: 3.906 kB / 0.7903 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.2287, allocations: 175 kB / 0.7905 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.2287, allocations: 4 kB / 0.7905 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.2287, allocations: 0 / 0.7905 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.2289, allocations: 81.66 kB / 0.7905 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.2289, allocations: 0 / 0.7905 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.229, allocations: 0 / 0.7905 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.229, allocations: 4 kB / 0.7906 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.2291, allocations: 47.97 kB / 0.7906 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003712/0.2295, allocations: 288.7 kB / 0.7909 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.2296, allocations: 66.55 kB / 0.7909 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.18e-05/0.2297, allocations: 48.89 kB / 0.791 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.2297, allocations: 4 kB / 0.791 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.2297, allocations: 38.5 kB / 0.791 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2297, allocations: 0 / 0.791 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003669/0.2301, allocations: 191.3 kB / 0.7912 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.2302, allocations: 81.09 kB / 0.7913 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.992e-05/0.2303, allocations: 125.7 kB / 0.7914 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.2303, allocations: 29.7 kB / 0.7914 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.659e-05/0.2304, allocations: 92.03 kB / 0.7915 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.2304, allocations: 7.906 kB / 0.7915 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-06/0.2304, allocations: 4 kB / 0.7915 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.2305, allocations: 310.8 kB / 0.7918 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.634e-05/0.2306, allocations: 67.98 kB / 0.7919 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.77e-05/0.2307, allocations: 59.97 kB / 0.792 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.2308, allocations: 111.4 kB / 0.7921 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.2308, allocations: 0 / 0.7921 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002816/0.2311, allocations: 221 kB / 0.7923 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.902e-05/0.2312, allocations: 71.39 kB / 0.7923 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.2312, allocations: 0 / 0.7923 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.2312, allocations: 0 / 0.7923 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.562e-05/0.2313, allocations: 7.938 kB / 0.7923 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.2313, allocations: 0 / 0.7923 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.794e-05/0.2313, allocations: 19.84 kB / 0.7924 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.2314, allocations: 0 / 0.7924 GB, free: 6.418 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.2315, allocations: 147.5 kB / 0.7925 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.2315, allocations: 8 kB / 0.7925 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.869e-05/0.2315, allocations: 3.906 kB / 0.7925 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.2315, allocations: 0 / 0.7925 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.2315, allocations: 0 / 0.7925 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.2316, allocations: 4 kB / 0.7925 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.2317, allocations: 173.6 kB / 0.7927 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2317, allocations: 0 / 0.7927 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.795e-05/0.2318, allocations: 4 kB / 0.7927 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2318, allocations: 0 / 0.7927 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.425e-06/0.2318, allocations: 0 / 0.7927 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.2318, allocations: 11.98 kB / 0.7927 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2318, allocations: 0 / 0.7927 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.2321, allocations: 257 kB / 0.7929 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/0.2321, allocations: 84.95 kB / 0.793 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.2321, allocations: 4 kB / 0.793 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.211e-05/0.2322, allocations: 12.08 kB / 0.793 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.416e-05/0.2323, allocations: 8 kB / 0.793 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.994e-06/0.2323, allocations: 4 kB / 0.7931 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.93e-05/0.2324, allocations: 95.27 kB / 0.7931 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2324, allocations: 3.938 kB / 0.7931 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002976/0.2327, allocations: 55.98 kB / 0.7932 GB, free: 5.445 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 (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.0006644/0.2334, allocations: 0.839 MB / 0.794 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002989/0.2337, allocations: 238.7 kB / 0.7942 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2337, allocations: 0 / 0.7942 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.2338, allocations: 111.3 kB / 0.7944 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.234, allocations: 8 kB / 0.7944 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.2351, allocations: 0.7301 MB / 0.7951 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.2354, allocations: 0.6848 MB / 0.7957 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.416e-05/0.2354, allocations: 0 / 0.7957 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/0.2354, allocations: 15.44 kB / 0.7958 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.2355, allocations: 0 / 0.7958 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01281/0.2483, allocations: 2.542 MB / 0.7982 GB, free: 348 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/0.2485, allocations: 231.3 kB / 0.7985 GB, free: 96 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/1.946, allocations: 0 / 0.7985 GB, free: 96 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/linux/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) Environment - environmentSimulation: