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.819/1.819, allocations: 288.2 MB / 303.2 MB, free: 8.188 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.001154/0.001154, allocations: 181 kB / 371.8 MB, free: 10.3 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.599/1.599, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.0008901/0.0008902, allocations: 89.36 kB / 0.7439 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004231/0.0004233, allocations: 16.47 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2304, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001502/0.2319, allocations: 1.145 MB / 0.9806 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005697/0.2325, allocations: 361 kB / 0.9809 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.058e-05/0.2325, allocations: 0 / 0.9809 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.775e-05/0.2326, allocations: 7.938 kB / 0.9809 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.718e-05/0.2326, allocations: 3.984 kB / 0.9809 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.2329, allocations: 69.91 kB / 0.981 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.782e-05/0.233, allocations: 15.98 kB / 0.981 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.569e-05/0.2331, allocations: 4 kB / 0.981 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.508e-05/0.2331, allocations: 15.91 kB / 0.981 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.869e-05/0.2332, allocations: 4 kB / 0.981 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.2332, allocations: 4 kB / 0.981 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002978/0.2335, allocations: 259.7 kB / 0.9813 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.668e-06/0.2335, allocations: 11.92 kB / 0.9813 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.987e-05/0.2335, allocations: 25.7 kB / 0.9813 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.2337, allocations: 71.88 kB / 0.9814 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2337, allocations: 0 / 0.9814 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2337, allocations: 0 / 0.9814 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.2337, allocations: 0 / 0.9814 GB, free: 25.63 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.0004102/0.2341, allocations: 363.5 kB / 0.9817 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.2342, allocations: 16.02 kB / 0.9818 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.607e-05/0.2342, allocations: 34.5 kB / 0.9818 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.954e-05/0.2343, allocations: 0 / 0.9818 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.292e-05/0.2344, allocations: 178.9 kB / 0.982 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.2344, allocations: 0 / 0.982 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.2344, allocations: 0 / 0.982 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.2346, allocations: 61.61 kB / 0.982 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.2346, allocations: 0 / 0.982 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.2346, allocations: 7.984 kB / 0.982 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.2346, allocations: 0 / 0.982 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.2348, allocations: 39.97 kB / 0.9821 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003059/0.2351, allocations: 256.9 kB / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.2352, allocations: 46.5 kB / 0.9824 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005802/0.2358, allocations: 461.5 kB / 0.9828 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.2359, allocations: 34.56 kB / 0.9828 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.2359, allocations: 0 / 0.9828 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003371/0.2362, allocations: 97.64 kB / 0.9829 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.968e-05/0.2362, allocations: 51.41 kB / 0.983 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.118e-05/0.2363, allocations: 113.8 kB / 0.9831 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.675e-06/0.2363, allocations: 29.83 kB / 0.9831 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.871e-05/0.2364, allocations: 88.14 kB / 0.9832 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.485e-05/0.2364, allocations: 7.844 kB / 0.9832 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.2364, allocations: 3.938 kB / 0.9832 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.845e-05/0.2364, allocations: 318.8 kB / 0.9835 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.621e-05/0.2365, allocations: 23.97 kB / 0.9835 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.765e-05/0.2366, allocations: 23.98 kB / 0.9836 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.373e-05/0.2367, allocations: 23.98 kB / 0.9836 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2367, allocations: 0 / 0.9836 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001814/0.2369, allocations: 81.72 kB / 0.9837 GB, free: 23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.2369, allocations: 6.188 kB / 0.9837 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2369, allocations: 0 / 0.9837 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.2369, allocations: 0 / 0.9837 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.954e-05/0.237, allocations: 11.98 kB / 0.9837 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.237, allocations: 0 / 0.9837 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.516e-05/0.2371, allocations: 12.03 kB / 0.9837 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-06/0.2371, allocations: 3.938 kB / 0.9837 GB, free: 22.97 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.558e-05/0.2371, allocations: 117.7 kB / 0.9838 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.384e-05/0.2372, allocations: 11.89 kB / 0.9838 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002223/0.2374, allocations: 81.19 kB / 0.9839 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.2374, allocations: 0 / 0.9839 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2374, allocations: 0 / 0.9839 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2374, allocations: 4 kB / 0.9839 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.2376, allocations: 165.6 kB / 0.9841 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.2376, allocations: 0 / 0.9841 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.355e-05/0.2376, allocations: 8 kB / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2376, allocations: 0 / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.2376, allocations: 4.031 kB / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2377, allocations: 3.984 kB / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2377, allocations: 4 kB / 0.9841 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.2379, allocations: 175.4 kB / 0.9842 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2e-05/0.2379, allocations: 85.25 kB / 0.9843 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.2379, allocations: 4 kB / 0.9843 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.866e-05/0.238, allocations: 8 kB / 0.9843 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.2381, allocations: 7.984 kB / 0.9843 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-06/0.2381, allocations: 0 / 0.9843 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.427e-05/0.2381, allocations: 83.28 kB / 0.9844 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2381, allocations: 0 / 0.9844 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002214/0.2383, allocations: 12 kB / 0.9844 GB, free: 22.11 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.0004204/0.2387, allocations: 0.7319 MB / 0.9851 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001918/0.239, allocations: 43.97 kB / 0.9852 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.239, allocations: 0 / 0.9852 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.077e-05/0.239, allocations: 32.03 kB / 0.9852 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.2393, allocations: 0.6875 kB / 0.9852 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003659/0.2396, allocations: 142.3 kB / 0.9854 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.2397, allocations: 0.6809 MB / 0.986 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.518e-05/0.2398, allocations: 8 kB / 0.986 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.72e-05/0.2398, allocations: 15.44 kB / 0.986 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of SimCode: time 2e-07/0.2398, allocations: 0 / 0.986 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01184/0.2517, allocations: 1.324 MB / 0.9873 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000159/0.2519, allocations: 198.3 kB / 0.9875 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.556/1.808, allocations: 0 / 0.9875 GB, free: 18.93 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)