Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.64/1.64, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001546/0.001546, allocations: 170.9 kB / 326.5 MB, free: 2.715 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.87/1.87, allocations: 205 MB / 0.5766 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 92.36 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003514, allocations: 9.344 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.1992, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001451/0.2007, allocations: 1.172 MB / 0.8979 GB, free: 67.03 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006743/0.2014, allocations: 412.3 kB / 0.8983 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.934e-05/0.2014, allocations: 4 kB / 0.8983 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.218e-05/0.2014, allocations: 4 kB / 0.8983 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.789e-05/0.2015, allocations: 3.984 kB / 0.8983 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003819/0.2019, allocations: 75.78 kB / 0.8984 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.183e-05/0.202, allocations: 16 kB / 0.8984 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.013e-05/0.202, allocations: 15.86 kB / 0.8984 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.156e-05/0.2021, allocations: 11.94 kB / 0.8984 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.378e-05/0.2021, allocations: 11.98 kB / 0.8984 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.2021, allocations: 0 / 0.8984 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003079/0.2025, allocations: 283.6 kB / 0.8987 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.2025, allocations: 3.938 kB / 0.8987 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.384e-05/0.2025, allocations: 15.92 kB / 0.8987 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.2026, allocations: 63.88 kB / 0.8988 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2027, allocations: 0 / 0.8988 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2027, allocations: 0 / 0.8988 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.2027, allocations: 0 / 0.8988 GB, free: 66.12 MB / 0.6042 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.0003807/0.2031, allocations: 359.5 kB / 0.8991 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.2031, allocations: 8.031 kB / 0.8991 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.654e-05/0.2032, allocations: 8.844 kB / 0.8991 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.54e-05/0.2033, allocations: 168.3 kB / 0.8993 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.2033, allocations: 384 / 0.8993 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.2033, allocations: 4.375 kB / 0.8993 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.2035, allocations: 59.11 kB / 0.8993 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.2035, allocations: 192 / 0.8993 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.2035, allocations: 3.938 kB / 0.8993 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.2035, allocations: 0 / 0.8993 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.2037, allocations: 47.89 kB / 0.8994 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002588/0.2039, allocations: 253 kB / 0.8996 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.2041, allocations: 42.5 kB / 0.8997 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.449e-05/0.2042, allocations: 32.91 kB / 0.8997 GB, free: 65 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005244/0.2047, allocations: 461.4 kB / 0.9001 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.2047, allocations: 42.56 kB / 0.9002 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.2047, allocations: 3.938 kB / 0.9002 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003441/0.2051, allocations: 105.6 kB / 0.9003 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.287e-05/0.2051, allocations: 51.41 kB / 0.9003 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.364e-05/0.2052, allocations: 105.8 kB / 0.9004 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.134e-06/0.2052, allocations: 25.7 kB / 0.9005 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.01e-05/0.2052, allocations: 80.14 kB / 0.9005 GB, free: 64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.2052, allocations: 7.906 kB / 0.9005 GB, free: 64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.838e-05/0.2053, allocations: 9.719 kB / 0.9006 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.24e-05/0.2053, allocations: 314.8 kB / 0.9009 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.579e-05/0.2054, allocations: 28 kB / 0.9009 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.661e-05/0.2055, allocations: 19.98 kB / 0.9009 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.2056, allocations: 52.83 kB / 0.901 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.2056, allocations: 0 / 0.901 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002082/0.2058, allocations: 85.62 kB / 0.901 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.2059, allocations: 8 kB / 0.901 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2059, allocations: 0 / 0.901 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.2059, allocations: 3.984 kB / 0.901 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.776e-05/0.206, allocations: 11.98 kB / 0.9011 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.206, allocations: 0 / 0.9011 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.282e-05/0.206, allocations: 8 kB / 0.9011 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.206, allocations: 7.922 kB / 0.9011 GB, free: 63.43 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.793e-05/0.2061, allocations: 117.8 kB / 0.9012 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.611e-05/0.2061, allocations: 0 / 0.9012 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000212/0.2063, allocations: 89.11 kB / 0.9013 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.2064, allocations: 256 / 0.9013 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2064, allocations: 8.031 kB / 0.9013 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2064, allocations: 4 kB / 0.9013 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.2065, allocations: 165.6 kB / 0.9014 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2065, allocations: 0 / 0.9014 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.695e-05/0.2066, allocations: 15.98 kB / 0.9015 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2066, allocations: 0 / 0.9015 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.2066, allocations: 4 kB / 0.9015 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2066, allocations: 3.938 kB / 0.9015 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2066, allocations: 0 / 0.9015 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.2068, allocations: 179.3 kB / 0.9016 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.737e-05/0.2068, allocations: 81.11 kB / 0.9017 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.2069, allocations: 4 kB / 0.9017 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.964e-05/0.2069, allocations: 12.02 kB / 0.9017 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.207, allocations: 4 kB / 0.9017 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.207, allocations: 0 / 0.9017 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.075e-05/0.207, allocations: 79.28 kB / 0.9018 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.207, allocations: 0 / 0.9018 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002151/0.2072, allocations: 23.98 kB / 0.9018 GB, free: 62.56 MB / 0.6042 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 (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.0001331/0.2074, allocations: 103.2 kB / 0.9019 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001939/0.2076, allocations: 51.95 kB / 0.902 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.2076, allocations: 0 / 0.902 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.947e-05/0.2077, allocations: 35.98 kB / 0.902 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.2079, allocations: 5.062 kB / 0.902 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002496/0.2082, allocations: 132.9 kB / 0.9021 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.972e-05/0.2083, allocations: 0.6809 MB / 0.9028 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.028e-05/0.2083, allocations: 7.438 kB / 0.9028 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of SimCode: time 2.91e-07/0.2083, allocations: 0 / 0.9028 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of Templates: time 0.001843/0.2102, allocations: 0.6923 MB / 0.9035 GB, free: 60.8 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)