Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.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.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",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.0008929/0.0008928, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001654/0.001654, allocations: 191 kB / 16.13 MB, free: 6.668 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.26/1.26, allocations: 205.1 MB / 222 MB, free: 4.742 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.485/1.485, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001362/0.001363, allocations: 72.11 kB / 0.6709 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1866, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001551/0.1882, allocations: 0.6549 MB / 0.7834 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005791/0.1888, allocations: 354.9 kB / 0.7838 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.215e-06/0.1888, allocations: 0 / 0.7838 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.213e-05/0.1888, allocations: 0 / 0.7838 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.008e-06/0.1888, allocations: 0 / 0.7838 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000309/0.1891, allocations: 71.84 kB / 0.7838 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 2.803e-05/0.1892, allocations: 4 kB / 0.7839 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.069e-05/0.1892, allocations: 0 / 0.7839 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.033e-05/0.1892, allocations: 0 / 0.7839 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.651e-05/0.1892, allocations: 0 / 0.7839 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.995e-06/0.1893, allocations: 0 / 0.7839 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003374/0.1896, allocations: 279.6 kB / 0.7841 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.175e-06/0.1896, allocations: 3.938 kB / 0.7841 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.325e-05/0.1896, allocations: 0 / 0.7841 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.1898, allocations: 87.84 kB / 0.7842 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1898, allocations: 7.938 kB / 0.7842 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1898, allocations: 0 / 0.7842 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.015e-06/0.1898, allocations: 0 / 0.7842 GB, free: 12.43 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002427/0.19, allocations: 331.6 kB / 0.7845 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.1901, allocations: 12.03 kB / 0.7845 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.558e-05/0.1901, allocations: 30.75 kB / 0.7846 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.1902, allocations: 0.9375 kB / 0.7846 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.222e-05/0.1902, allocations: 164.3 kB / 0.7847 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-06/0.1903, allocations: 384 / 0.7847 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-06/0.1903, allocations: 12.36 kB / 0.7847 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.879e-05/0.1903, allocations: 30.27 kB / 0.7848 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.1904, allocations: 3.938 kB / 0.7848 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.551e-06/0.1904, allocations: 0 / 0.7848 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.1904, allocations: 0 / 0.7848 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.495e-05/0.1904, allocations: 0 / 0.7848 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001045/0.1905, allocations: 149.7 kB / 0.7849 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.132e-05/0.1905, allocations: 18.52 kB / 0.7849 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.675e-05/0.1906, allocations: 20.94 kB / 0.785 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004043/0.191, allocations: 421.4 kB / 0.7854 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.191, allocations: 38.56 kB / 0.7854 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.191, allocations: 0 / 0.7854 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001139/0.1911, allocations: 37.64 kB / 0.7854 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.1911, allocations: 51.41 kB / 0.7855 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.582e-05/0.1912, allocations: 89.86 kB / 0.7856 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.1912, allocations: 25.7 kB / 0.7856 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 1.973e-05/0.1912, allocations: 84.08 kB / 0.7857 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.1912, allocations: 7.906 kB / 0.7857 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-05/0.1913, allocations: 13.7 kB / 0.7857 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.921e-05/0.1914, allocations: 314.8 kB / 0.786 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.744e-06/0.1914, allocations: 4.125 kB / 0.786 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.119e-06/0.1914, allocations: 4 kB / 0.786 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.881e-05/0.1914, allocations: 4.859 kB / 0.786 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1914, allocations: 4 kB / 0.786 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.516e-05/0.1915, allocations: 29.7 kB / 0.786 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.1915, allocations: 4 kB / 0.786 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1915, allocations: 3.938 kB / 0.786 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.616e-06/0.1915, allocations: 0 / 0.786 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.254e-05/0.1915, allocations: 12.02 kB / 0.7861 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.1916, allocations: 4 kB / 0.7861 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.316e-06/0.1916, allocations: 0 / 0.7861 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.1916, allocations: 4 kB / 0.7861 GB, free: 10.21 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.46e-05/0.1916, allocations: 116.7 kB / 0.7862 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.1917, allocations: 3.938 kB / 0.7862 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.823e-05/0.1917, allocations: 41.03 kB / 0.7862 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.1917, allocations: 0 / 0.7862 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.1918, allocations: 4.031 kB / 0.7862 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-06/0.1918, allocations: 0 / 0.7862 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.045e-05/0.1918, allocations: 145.7 kB / 0.7864 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.1918, allocations: 0 / 0.7864 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.038e-05/0.1919, allocations: 0 / 0.7864 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.1919, allocations: 0 / 0.7864 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.1919, allocations: 11.94 kB / 0.7864 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1919, allocations: 0 / 0.7864 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1919, allocations: 7.875 kB / 0.7864 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.679e-05/0.192, allocations: 57.12 kB / 0.7864 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.676e-05/0.192, allocations: 81.05 kB / 0.7865 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.947e-06/0.192, allocations: 7.938 kB / 0.7865 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.763e-06/0.192, allocations: 0 / 0.7865 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.042e-05/0.192, allocations: 0 / 0.7865 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.192, allocations: 3.984 kB / 0.7865 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.161e-05/0.1921, allocations: 80.34 kB / 0.7866 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.1921, allocations: 0 / 0.7866 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001898/0.1923, allocations: 12 kB / 0.7866 GB, free: 9.551 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: 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 (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.0003216/0.1926, allocations: 0.6124 MB / 0.7872 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 4.717e-05/0.1926, allocations: 4 kB / 0.7872 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1927, allocations: 0 / 0.7872 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.551e-06/0.1927, allocations: 96 / 0.7872 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001129/0.1928, allocations: 8.062 kB / 0.7872 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002437/0.193, allocations: 108.4 kB / 0.7873 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/0.1932, allocations: 0.6692 MB / 0.788 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.466e-05/0.1932, allocations: 0 / 0.788 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.549e-05/0.1932, allocations: 11.44 kB / 0.788 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.1932, allocations: 7.875 kB / 0.788 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01513/0.2084, allocations: 1.06 MB / 0.789 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/0.2086, allocations: 214.5 kB / 0.7892 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.496/1.704, allocations: 3.938 kB / 0.7892 GB, free: 6.812 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)