Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.755/1.755, allocations: 288.4 MB / 303.3 MB, free: 8.133 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009207/0.0009209, allocations: 178.5 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.352/1.352, allocations: 205.4 MB / 0.6307 GB, free: 9.895 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006962/0.0006962, allocations: 99.78 kB / 0.7441 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.000402, allocations: 16.94 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1887, allocations: 115.3 MB / 0.9797 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0006465/0.1894, allocations: 311.8 kB / 0.98 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005114/0.19, allocations: 303.2 kB / 0.9803 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.565e-05/0.19, allocations: 4 kB / 0.9803 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.263e-05/0.19, allocations: 0 / 0.9803 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.434e-06/0.19, allocations: 0 / 0.9803 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003849/0.1904, allocations: 63.88 kB / 0.9803 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.778e-05/0.1905, allocations: 3.984 kB / 0.9803 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.75e-05/0.1905, allocations: 4 kB / 0.9803 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.428e-05/0.1905, allocations: 3.984 kB / 0.9803 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.48e-05/0.1906, allocations: 0 / 0.9803 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.1906, allocations: 0 / 0.9803 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003548/0.191, allocations: 263.7 kB / 0.9806 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.312e-06/0.191, allocations: 0 / 0.9806 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.95e-05/0.191, allocations: 25.7 kB / 0.9806 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.1911, allocations: 59.84 kB / 0.9807 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1912, allocations: 0 / 0.9807 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.565e-06/0.1912, allocations: 0 / 0.9807 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.1912, allocations: 0 / 0.9807 GB, free: 26.5 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002262/0.1914, allocations: 335.4 kB / 0.981 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.1915, allocations: 12.02 kB / 0.981 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.556e-05/0.1915, allocations: 30.56 kB / 0.981 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.877e-05/0.1915, allocations: 0 / 0.981 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.541e-05/0.1916, allocations: 167 kB / 0.9812 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.1916, allocations: 8 kB / 0.9812 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.1916, allocations: 0 / 0.9812 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.36e-05/0.1917, allocations: 29.69 kB / 0.9812 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.1917, allocations: 4 kB / 0.9812 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-06/0.1917, allocations: 0 / 0.9812 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1918, allocations: 0 / 0.9812 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.943e-05/0.1918, allocations: 4 kB / 0.9812 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.667e-05/0.1919, allocations: 145.6 kB / 0.9814 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.257e-05/0.1919, allocations: 26.55 kB / 0.9814 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.254e-05/0.1919, allocations: 4.859 kB / 0.9814 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004166/0.1924, allocations: 425.6 kB / 0.9818 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.1924, allocations: 38.55 kB / 0.9818 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1924, allocations: 0 / 0.9818 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001415/0.1925, allocations: 29.7 kB / 0.9819 GB, free: 25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.1926, allocations: 51.41 kB / 0.9819 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.668e-05/0.1926, allocations: 101.9 kB / 0.982 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.923e-06/0.1926, allocations: 25.7 kB / 0.982 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.13e-05/0.1926, allocations: 80.14 kB / 0.9821 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.1927, allocations: 3.906 kB / 0.9821 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-06/0.1927, allocations: 0 / 0.9821 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.092e-05/0.1927, allocations: 318.8 kB / 0.9824 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.344e-06/0.1927, allocations: 3.938 kB / 0.9824 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.562e-06/0.1928, allocations: 4 kB / 0.9824 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.38e-05/0.1928, allocations: 8.047 kB / 0.9824 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1928, allocations: 0 / 0.9824 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.056e-05/0.1929, allocations: 33.66 kB / 0.9825 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.1929, allocations: 8 kB / 0.9825 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1929, allocations: 0 / 0.9825 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1929, allocations: 0 / 0.9825 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.428e-05/0.193, allocations: 0 / 0.9825 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.193, allocations: 4 kB / 0.9825 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.094e-05/0.193, allocations: 0 / 0.9825 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.193, allocations: 0 / 0.9825 GB, free: 24.32 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 5.269e-05/0.1931, allocations: 119.3 kB / 0.9826 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.1931, allocations: 3.953 kB / 0.9826 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.216e-05/0.1932, allocations: 41.11 kB / 0.9826 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1932, allocations: 3.984 kB / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.1932, allocations: 0 / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1932, allocations: 0 / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.188e-05/0.1932, allocations: 149.7 kB / 0.9828 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1932, allocations: 0 / 0.9828 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.399e-05/0.1933, allocations: 4.031 kB / 0.9828 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1933, allocations: 7.953 kB / 0.9828 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.1933, allocations: 0 / 0.9828 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1933, allocations: 0 / 0.9828 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1933, allocations: 0 / 0.9828 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.407e-05/0.1934, allocations: 65.06 kB / 0.9829 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.723e-05/0.1934, allocations: 81.05 kB / 0.9829 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.1934, allocations: 3.953 kB / 0.9829 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.665e-06/0.1934, allocations: 4.031 kB / 0.9829 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.58e-05/0.1934, allocations: 0 / 0.9829 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.1934, allocations: 4 kB / 0.9829 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.155e-05/0.1935, allocations: 75.28 kB / 0.983 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1935, allocations: 0 / 0.983 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002077/0.1937, allocations: 8 kB / 0.983 GB, free: 23.66 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.0002827/0.194, allocations: 0.6163 MB / 0.9836 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.998e-05/0.194, allocations: 11.94 kB / 0.9836 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.194, allocations: 0 / 0.9836 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.913e-06/0.1941, allocations: 4 kB / 0.9836 GB, free: 23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.1942, allocations: 7.891 kB / 0.9836 GB, free: 23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002569/0.1945, allocations: 104.4 kB / 0.9837 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.648e-05/0.1946, allocations: 0.6733 MB / 0.9844 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.736e-05/0.1946, allocations: 4 kB / 0.9844 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.307e-05/0.1946, allocations: 7.438 kB / 0.9844 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of SimCode: time 6.51e-07/0.1946, allocations: 0 / 0.9844 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01098/0.2056, allocations: 1.003 MB / 0.9854 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001515/0.2058, allocations: 201.3 kB / 0.9856 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.451/1.657, allocations: 11.94 kB / 0.9856 GB, free: 21.06 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)