Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.724/1.724, allocations: 287.4 MB / 302.6 MB, free: 8.223 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.001181/0.001181, allocations: 182.2 kB / 371.1 MB, free: 10.81 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.532/1.532, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0007161/0.0007161, allocations: 92.53 kB / 0.7431 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003791/0.0003791, allocations: 11.47 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1795, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001364/0.1809, allocations: 1.156 MB / 0.9799 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006087/0.1815, allocations: 352 kB / 0.9802 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.889e-05/0.1817, allocations: 0 / 0.9802 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.898e-05/0.1817, allocations: 3.938 kB / 0.9802 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.504e-05/0.1817, allocations: 0 / 0.9802 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003883/0.1821, allocations: 85.22 kB / 0.9803 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.437e-05/0.1822, allocations: 19.92 kB / 0.9803 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.102e-05/0.1823, allocations: 8 kB / 0.9803 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.545e-05/0.1823, allocations: 7.922 kB / 0.9803 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.417e-05/0.1824, allocations: 11.94 kB / 0.9803 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.1824, allocations: 4 kB / 0.9803 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002978/0.1827, allocations: 263.6 kB / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.033e-05/0.1827, allocations: 3.984 kB / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.942e-05/0.1827, allocations: 29.7 kB / 0.9806 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.1829, allocations: 71.88 kB / 0.9807 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1829, allocations: 0 / 0.9807 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1829, allocations: 0 / 0.9807 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.1829, allocations: 0 / 0.9807 GB, free: 26.07 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003422/0.1832, allocations: 363.7 kB / 0.981 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.1833, allocations: 8.031 kB / 0.981 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.488e-05/0.1833, allocations: 34.75 kB / 0.9811 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.1833, allocations: 4.938 kB / 0.9811 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.316e-05/0.1834, allocations: 180.2 kB / 0.9812 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.1835, allocations: 8.375 kB / 0.9813 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.1835, allocations: 384 / 0.9813 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.1837, allocations: 54.23 kB / 0.9813 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.1837, allocations: 3.938 kB / 0.9813 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-06/0.1837, allocations: 0 / 0.9813 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1837, allocations: 0 / 0.9813 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/0.1839, allocations: 47.97 kB / 0.9814 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002335/0.1841, allocations: 245 kB / 0.9816 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.1842, allocations: 50.44 kB / 0.9816 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.569e-05/0.1843, allocations: 28.91 kB / 0.9817 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005142/0.1848, allocations: 465.5 kB / 0.9821 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.1849, allocations: 34.56 kB / 0.9821 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.1849, allocations: 0 / 0.9821 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003304/0.1852, allocations: 97.64 kB / 0.9822 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.1852, allocations: 59.34 kB / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.673e-05/0.1853, allocations: 105.8 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.422e-06/0.1853, allocations: 29.77 kB / 0.9824 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.484e-05/0.1853, allocations: 84.14 kB / 0.9825 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.27e-05/0.1853, allocations: 11.78 kB / 0.9825 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.1854, allocations: 4 kB / 0.9825 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.357e-05/0.1854, allocations: 314.8 kB / 0.9828 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.576e-05/0.1855, allocations: 19.97 kB / 0.9828 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.875e-05/0.1856, allocations: 27.98 kB / 0.9829 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.1857, allocations: 44.83 kB / 0.9829 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1857, allocations: 3.938 kB / 0.9829 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001884/0.1859, allocations: 93.56 kB / 0.983 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.1859, allocations: 4 kB / 0.983 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1859, allocations: 3.984 kB / 0.983 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.1859, allocations: 0 / 0.983 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.757e-05/0.186, allocations: 16.02 kB / 0.983 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.186, allocations: 0 / 0.983 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.472e-05/0.1861, allocations: 11.98 kB / 0.983 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.1861, allocations: 0 / 0.983 GB, free: 23.34 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 (2): * Single equations (assignments): 2 * 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.365e-05/0.1862, allocations: 119.1 kB / 0.9831 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.1862, allocations: 0 / 0.9831 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002033/0.1864, allocations: 85.19 kB / 0.9832 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1864, allocations: 0 / 0.9832 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1864, allocations: 0 / 0.9832 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1865, allocations: 4 kB / 0.9832 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.1866, allocations: 161.6 kB / 0.9834 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1866, allocations: 0 / 0.9834 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.415e-05/0.1866, allocations: 19.95 kB / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1866, allocations: 0 / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.1866, allocations: 256 / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.1867, allocations: 8 kB / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1867, allocations: 0 / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.1869, allocations: 175.5 kB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.764e-05/0.1869, allocations: 85.02 kB / 0.9837 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.1869, allocations: 0 / 0.9837 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.695e-05/0.187, allocations: 7.984 kB / 0.9837 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.187, allocations: 8 kB / 0.9837 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-06/0.187, allocations: 0 / 0.9837 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.161e-05/0.1871, allocations: 87.25 kB / 0.9838 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1871, allocations: 0 / 0.9838 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001987/0.1873, allocations: 15.98 kB / 0.9838 GB, free: 22.48 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 (2): * Single equations (assignments): 2 * 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.0004524/0.1877, allocations: 0.728 MB / 0.9845 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000185/0.1879, allocations: 47.98 kB / 0.9845 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.1879, allocations: 4.062 kB / 0.9845 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.772e-05/0.188, allocations: 27.86 kB / 0.9846 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.1883, allocations: 4 kB / 0.9846 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003505/0.1886, allocations: 138.4 kB / 0.9847 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.1887, allocations: 0.6887 MB / 0.9854 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.485e-05/0.1888, allocations: 0 / 0.9854 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.761e-05/0.1888, allocations: 15.38 kB / 0.9854 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of SimCode: time 2.5e-07/0.1888, allocations: 0 / 0.9854 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01198/0.2008, allocations: 1.318 MB / 0.9867 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001673/0.201, allocations: 185 kB / 0.9868 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.477/1.678, allocations: 4 kB / 0.9868 GB, free: 19.3 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_RegNonZeroPower.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)