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: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007921/0.0007922, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006248/0.006248, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.443/1.443, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.5502 GB, free: 14.44 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.0005322/0.0005323, allocations: 21.12 kB / 0.6743 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2345, allocations: 116.3 MB / 0.7879 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001691/0.2363, allocations: 1.164 MB / 0.789 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.2377, allocations: 0.8329 MB / 0.7898 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.324e-05/0.2378, allocations: 0 / 0.7898 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.664e-05/0.2378, allocations: 3.984 kB / 0.7898 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.769e-05/0.2379, allocations: 4 kB / 0.7899 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006323/0.2385, allocations: 139.5 kB / 0.79 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.087e-05/0.2386, allocations: 31.98 kB / 0.79 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.097e-05/0.2387, allocations: 4 kB / 0.79 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.384e-05/0.2388, allocations: 15.92 kB / 0.79 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.627e-05/0.2388, allocations: 23.92 kB / 0.7901 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.2389, allocations: 0 / 0.7901 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003461/0.2392, allocations: 195.7 kB / 0.7902 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.916e-05/0.2393, allocations: 7.984 kB / 0.7903 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.295e-05/0.2393, allocations: 41.58 kB / 0.7903 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003032/0.2396, allocations: 191.8 kB / 0.7905 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2396, allocations: 0 / 0.7905 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.993e-06/0.2397, allocations: 0 / 0.7905 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.2397, allocations: 4 kB / 0.7905 GB, free: 8.867 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.0004855/0.2402, allocations: 422.8 kB / 0.7909 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.2402, allocations: 15.97 kB / 0.7909 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.271e-05/0.2402, allocations: 8.844 kB / 0.7909 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.2404, allocations: 164.3 kB / 0.7911 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.2404, allocations: 4.375 kB / 0.7911 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.2404, allocations: 4.125 kB / 0.7911 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.2406, allocations: 77.66 kB / 0.7911 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.2406, allocations: 0 / 0.7911 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.2406, allocations: 0 / 0.7911 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.2406, allocations: 4 kB / 0.7911 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.2408, allocations: 55.91 kB / 0.7912 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003884/0.2412, allocations: 276.9 kB / 0.7915 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.2413, allocations: 70.48 kB / 0.7915 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.807e-05/0.2414, allocations: 48.91 kB / 0.7916 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.2414, allocations: 0 / 0.7916 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.2415, allocations: 30.56 kB / 0.7916 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 2.775e-06/0.2415, allocations: 0 / 0.7916 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003867/0.2419, allocations: 199.2 kB / 0.7918 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.2419, allocations: 81.11 kB / 0.7919 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.966e-05/0.242, allocations: 129.8 kB / 0.792 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.2421, allocations: 25.7 kB / 0.792 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.417e-05/0.2421, allocations: 92.12 kB / 0.7921 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.2421, allocations: 3.906 kB / 0.7921 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.2422, allocations: 13.72 kB / 0.7921 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.2423, allocations: 322.8 kB / 0.7924 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.2424, allocations: 64 kB / 0.7925 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.2425, allocations: 63.95 kB / 0.7926 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.2428, allocations: 197.8 kB / 0.7927 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2428, allocations: 0 / 0.7927 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002826/0.2431, allocations: 224.9 kB / 0.793 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.189e-05/0.2431, allocations: 67.33 kB / 0.793 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2431, allocations: 0 / 0.793 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.2431, allocations: 4 kB / 0.793 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.867e-05/0.2432, allocations: 0 / 0.793 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.2432, allocations: 7.984 kB / 0.793 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.012e-05/0.2433, allocations: 8 kB / 0.793 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.2433, allocations: 4 kB / 0.793 GB, free: 5.941 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 0.0001083/0.2434, allocations: 156.3 kB / 0.7932 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.2434, allocations: 7.906 kB / 0.7932 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.082e-05/0.2435, allocations: 3.906 kB / 0.7932 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2435, allocations: 4.219 kB / 0.7932 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.2435, allocations: 0 / 0.7932 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2435, allocations: 3.984 kB / 0.7932 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.2437, allocations: 177.6 kB / 0.7934 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2437, allocations: 3.938 kB / 0.7934 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.07e-05/0.2437, allocations: 4 kB / 0.7934 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2437, allocations: 0 / 0.7934 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-06/0.2437, allocations: 4 kB / 0.7934 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.2437, allocations: 0 / 0.7934 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2437, allocations: 0 / 0.7934 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.244, allocations: 253.1 kB / 0.7936 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.878e-05/0.2441, allocations: 81.02 kB / 0.7937 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.2441, allocations: 7.984 kB / 0.7937 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.032e-05/0.2442, allocations: 8.031 kB / 0.7937 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.773e-05/0.2443, allocations: 11.98 kB / 0.7937 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.2443, allocations: 4 kB / 0.7937 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.676e-05/0.2443, allocations: 99.7 kB / 0.7938 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2443, allocations: 0 / 0.7938 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003212/0.2447, allocations: 56 kB / 0.7939 GB, free: 4.961 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.0002592/0.2449, allocations: 171 kB / 0.7941 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003133/0.2453, allocations: 242.7 kB / 0.7943 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2453, allocations: 0 / 0.7943 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.2454, allocations: 103.4 kB / 0.7944 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.2456, allocations: 4 kB / 0.7944 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000348/0.246, allocations: 192.7 kB / 0.7946 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.2462, allocations: 0.6809 MB / 0.7952 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.476e-05/0.2462, allocations: 0 / 0.7952 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.648e-05/0.2463, allocations: 11.44 kB / 0.7953 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.2463, allocations: 0 / 0.7953 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of Templates: time 0.004139/0.2504, allocations: 1.637 MB / 0.7969 GB, free: 1.848 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) Environment - environmentSimulation: