Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.536/1.536, allocations: 292.3 MB / 308.1 MB, free: 4.301 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.001097/0.001097, allocations: 191.7 kB / 376.9 MB, free: 1.797 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.377/1.377, allocations: 205.1 MB / 0.6353 GB, free: 9.777 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009353/0.0009351, allocations: 96.81 kB / 0.748 GB, free: 61.27 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009677/0.0009678, allocations: 60.16 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2404, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.004203/0.2447, allocations: 1.499 MB / 0.9837 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007808/0.2455, allocations: 411.5 kB / 0.9841 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.858e-05/0.2456, allocations: 3.938 kB / 0.9841 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.197e-05/0.2456, allocations: 7.938 kB / 0.9841 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.346e-05/0.2457, allocations: 0 / 0.9841 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.246, allocations: 83.78 kB / 0.9842 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.058e-05/0.2461, allocations: 15.98 kB / 0.9842 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.273e-05/0.2462, allocations: 8 kB / 0.9842 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.901e-05/0.2462, allocations: 15.91 kB / 0.9842 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.887e-05/0.2463, allocations: 19.92 kB / 0.9842 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.2463, allocations: 3.938 kB / 0.9842 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003456/0.2466, allocations: 271.7 kB / 0.9845 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.2467, allocations: 0 / 0.9845 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.961e-05/0.2467, allocations: 15.92 kB / 0.9845 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.2469, allocations: 107.8 kB / 0.9846 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2469, allocations: 0 / 0.9846 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2469, allocations: 0 / 0.9846 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.339e-06/0.2469, allocations: 0 / 0.9846 GB, free: 7.926 MB / 0.7136 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.0005079/0.2474, allocations: 367.7 kB / 0.9849 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.2475, allocations: 8.031 kB / 0.985 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.857e-05/0.2476, allocations: 8.844 kB / 0.985 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.2477, allocations: 160.4 kB / 0.9851 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.2477, allocations: 384 / 0.9851 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.2477, allocations: 8.359 kB / 0.9851 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.2479, allocations: 46.23 kB / 0.9852 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.248, allocations: 4.188 kB / 0.9852 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.248, allocations: 3.938 kB / 0.9852 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.248, allocations: 4 kB / 0.9852 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.2482, allocations: 39.89 kB / 0.9852 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003095/0.2485, allocations: 249 kB / 0.9855 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.2486, allocations: 38.5 kB / 0.9855 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.246e-05/0.2487, allocations: 28.91 kB / 0.9855 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006291/0.2493, allocations: 453.5 kB / 0.986 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.2494, allocations: 38.56 kB / 0.986 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.2494, allocations: 0 / 0.986 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0003456/0.2497, allocations: 89.48 kB / 0.9861 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.2498, allocations: 51.41 kB / 0.9861 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.93e-05/0.2498, allocations: 113.8 kB / 0.9862 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.2499, allocations: 25.7 kB / 0.9863 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.303e-05/0.2499, allocations: 88.27 kB / 0.9863 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.2499, allocations: 11.84 kB / 0.9864 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.25, allocations: 9.719 kB / 0.9864 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.2501, allocations: 318.8 kB / 0.9867 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.64e-05/0.2502, allocations: 15.98 kB / 0.9867 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.679e-05/0.2502, allocations: 19.92 kB / 0.9867 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.2504, allocations: 48.81 kB / 0.9867 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2504, allocations: 0 / 0.9867 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001847/0.2506, allocations: 65.61 kB / 0.9868 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.2506, allocations: 4 kB / 0.9868 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.2506, allocations: 4 kB / 0.9868 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.2506, allocations: 0 / 0.9868 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.982e-05/0.2507, allocations: 12.02 kB / 0.9868 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.2507, allocations: 0 / 0.9868 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.302e-05/0.2508, allocations: 7.984 kB / 0.9868 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.2508, allocations: 4 kB / 0.9868 GB, free: 5.309 MB / 0.7136 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 7.801e-05/0.2509, allocations: 117.8 kB / 0.987 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.157e-05/0.2509, allocations: 0 / 0.987 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002106/0.2511, allocations: 81.12 kB / 0.987 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2511, allocations: 0 / 0.987 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.2512, allocations: 0 / 0.987 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2512, allocations: 7.984 kB / 0.987 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.2513, allocations: 157.6 kB / 0.9872 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2513, allocations: 0 / 0.9872 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.249e-05/0.2514, allocations: 11.98 kB / 0.9872 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.2514, allocations: 0 / 0.9872 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.2514, allocations: 0 / 0.9872 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.2514, allocations: 0 / 0.9872 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2514, allocations: 0 / 0.9872 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000535/0.2519, allocations: 0.7356 MB / 0.9879 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.285e-05/0.252, allocations: 77.11 kB / 0.988 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.252, allocations: 4 kB / 0.988 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.059e-05/0.2521, allocations: 8.266 kB / 0.988 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.2521, allocations: 4 kB / 0.988 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.2521, allocations: 11.88 kB / 0.988 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.568e-05/0.2522, allocations: 87.27 kB / 0.9881 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.2522, allocations: 0 / 0.9881 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005511/0.2527, allocations: 12 kB / 0.9881 GB, free: 3.859 MB / 0.7136 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.0001574/0.2529, allocations: 115.2 kB / 0.9882 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001927/0.2531, allocations: 43.95 kB / 0.9883 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2531, allocations: 0 / 0.9883 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.835e-05/0.2532, allocations: 15.98 kB / 0.9883 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.2535, allocations: 4 kB / 0.9883 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003091/0.2538, allocations: 218.3 kB / 0.9885 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.254, allocations: 0.6809 MB / 0.9892 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.117e-05/0.2541, allocations: 3.938 kB / 0.9892 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.949e-05/0.2541, allocations: 7.438 kB / 0.9892 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.2541, allocations: 3.938 kB / 0.9892 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of Templates: time 0.002695/0.2568, allocations: 0.6535 MB / 0.9898 GB, free: 2.055 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)