Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.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.Examples.RegNonZeroPower,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.682/1.682, allocations: 288.4 MB / 303.3 MB, free: 8.172 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.001238/0.001238, allocations: 186.8 kB / 372 MB, free: 10.27 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.525/1.525, allocations: 205.4 MB / 0.6307 GB, free: 9.902 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.0006998/0.0006998, allocations: 101.2 kB / 0.7441 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004929/0.0004931, allocations: 16.53 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2063, allocations: 115.3 MB / 0.9796 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001487/0.2078, allocations: 1.141 MB / 0.9808 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007744/0.2086, allocations: 357 kB / 0.9811 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.455e-05/0.2087, allocations: 0 / 0.9811 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.663e-05/0.2087, allocations: 7.922 kB / 0.9811 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.389e-05/0.2088, allocations: 4 kB / 0.9811 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004346/0.2092, allocations: 83.72 kB / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.323e-05/0.2093, allocations: 15.94 kB / 0.9812 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.338e-05/0.2094, allocations: 11.92 kB / 0.9812 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.787e-05/0.2094, allocations: 8 kB / 0.9812 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.27e-05/0.2095, allocations: 11.92 kB / 0.9812 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.2095, allocations: 0 / 0.9812 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004637/0.21, allocations: 263.7 kB / 0.9815 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.114e-05/0.21, allocations: 8 kB / 0.9815 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.116e-05/0.2101, allocations: 25.7 kB / 0.9815 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.2102, allocations: 71.88 kB / 0.9816 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2102, allocations: 0 / 0.9816 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2103, allocations: 0 / 0.9816 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.2103, allocations: 0 / 0.9816 GB, free: 25.54 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.0004965/0.2108, allocations: 367.5 kB / 0.9819 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.2108, allocations: 16.02 kB / 0.982 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.182e-05/0.2109, allocations: 34.5 kB / 0.982 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.74e-05/0.2109, allocations: 4 kB / 0.982 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.211, allocations: 170.9 kB / 0.9822 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.2111, allocations: 0 / 0.9822 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.2111, allocations: 4 kB / 0.9822 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.2113, allocations: 53.67 kB / 0.9822 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.2113, allocations: 4 kB / 0.9822 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.2114, allocations: 0 / 0.9822 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.2114, allocations: 0 / 0.9822 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002399/0.2116, allocations: 43.95 kB / 0.9823 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003526/0.212, allocations: 260.8 kB / 0.9825 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.2122, allocations: 42.59 kB / 0.9825 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.2123, allocations: 28.91 kB / 0.9826 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007646/0.2131, allocations: 465.4 kB / 0.983 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.2131, allocations: 30.56 kB / 0.983 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.482e-06/0.2131, allocations: 4 kB / 0.983 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0005189/0.2137, allocations: 101.6 kB / 0.9831 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.2137, allocations: 55.53 kB / 0.9832 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.593e-05/0.2138, allocations: 101.9 kB / 0.9833 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.819e-06/0.2138, allocations: 25.7 kB / 0.9833 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.687e-05/0.2138, allocations: 92.12 kB / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.2139, allocations: 7.844 kB / 0.9834 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.2139, allocations: 0 / 0.9834 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.479e-05/0.214, allocations: 318.8 kB / 0.9837 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.2141, allocations: 23.98 kB / 0.9837 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.2142, allocations: 23.97 kB / 0.9838 GB, free: 23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.2143, allocations: 19.98 kB / 0.9838 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2143, allocations: 0 / 0.9838 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002923/0.2146, allocations: 85.67 kB / 0.9839 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.2147, allocations: 7.938 kB / 0.9839 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.2147, allocations: 3.984 kB / 0.9839 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.2147, allocations: 0 / 0.9839 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.2148, allocations: 12.03 kB / 0.9839 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2148, allocations: 0 / 0.9839 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.083e-05/0.2149, allocations: 15.97 kB / 0.9839 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.2149, allocations: 0 / 0.9839 GB, free: 22.85 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 6.27e-05/0.215, allocations: 109.8 kB / 0.984 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.481e-05/0.2151, allocations: 7.906 kB / 0.984 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003067/0.2154, allocations: 89.17 kB / 0.9841 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2154, allocations: 0 / 0.9841 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2154, allocations: 3.938 kB / 0.9841 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2154, allocations: 0 / 0.9841 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.2156, allocations: 161.9 kB / 0.9843 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2156, allocations: 0 / 0.9843 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.439e-05/0.2157, allocations: 20.02 kB / 0.9843 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.2157, allocations: 0 / 0.9843 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.2157, allocations: 0 / 0.9843 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2157, allocations: 0 / 0.9843 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.2158, allocations: 4 kB / 0.9843 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.2161, allocations: 179.4 kB / 0.9845 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.2161, allocations: 81.02 kB / 0.9845 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.2161, allocations: 4 kB / 0.9845 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.2163, allocations: 7.984 kB / 0.9845 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.2163, allocations: 8 kB / 0.9845 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.2163, allocations: 0 / 0.9845 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.978e-05/0.2164, allocations: 87.3 kB / 0.9846 GB, free: 22 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.82e-07/0.2164, allocations: 0 / 0.9846 GB, free: 22 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003629/0.2168, allocations: 15.94 kB / 0.9846 GB, free: 21.99 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.0006249/0.2174, allocations: 0.7242 MB / 0.9854 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000294/0.2177, allocations: 43.97 kB / 0.9854 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2177, allocations: 4.094 kB / 0.9854 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.2178, allocations: 23.92 kB / 0.9854 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/0.2183, allocations: 5.031 kB / 0.9854 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005326/0.2188, allocations: 148.5 kB / 0.9856 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.219, allocations: 0.681 MB / 0.9862 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.255e-05/0.219, allocations: 3.984 kB / 0.9862 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.51e-05/0.219, allocations: 7.438 kB / 0.9862 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of SimCode: time 2.6e-07/0.2191, allocations: 7.938 kB / 0.9863 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01234/0.2314, allocations: 1.332 MB / 0.9876 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000122/0.2316, allocations: 193.8 kB / 0.9877 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.553/1.784, allocations: 3.875 kB / 0.9877 GB, free: 18.82 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_RegNonZeroPower.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)