Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.759/1.759, allocations: 297.8 MB / 313.7 MB, free: 144 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009595/0.0009595, allocations: 179 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 223.2 MB / 0.6626 GB, free: 4.332 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009077/0.0009073, allocations: 101.3 kB / 0.7808 GB, free: 50.15 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004111/0.0004113, allocations: 12.5 kB / 0.9088 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7489/0.7493, allocations: 120.3 MB / 1.026 GB, free: 55.8 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2266/0.976, allocations: 141.8 MB / 1.165 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.9763, allocations: 77.11 kB / 1.165 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01304/0.9893, allocations: 4.363 MB / 1.169 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.785e-06/0.9894, allocations: 0.6562 kB / 1.169 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.9894, allocations: 0 / 1.169 GB, free: 14.59 MB / 0.7448 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.0005166/0.9899, allocations: 368.2 kB / 1.169 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.99, allocations: 9.562 kB / 1.169 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.405e-05/0.99, allocations: 8.844 kB / 1.17 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.9902, allocations: 166.7 kB / 1.17 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.9902, allocations: 384 / 1.17 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.9902, allocations: 7.5 kB / 1.17 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.9904, allocations: 57.75 kB / 1.17 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.9905, allocations: 1.062 kB / 1.17 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.9905, allocations: 4.547 kB / 1.17 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.9905, allocations: 0 / 1.17 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.9907, allocations: 44.67 kB / 1.17 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004986/0.9912, allocations: 270.2 kB / 1.17 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.9913, allocations: 50.14 kB / 1.17 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.639e-05/0.9914, allocations: 29.55 kB / 1.17 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006519/0.9921, allocations: 461.1 kB / 1.171 GB, free: 13 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.9921, allocations: 35.69 kB / 1.171 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.843e-06/0.9921, allocations: 0 / 1.171 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0004488/0.9926, allocations: 100.3 kB / 1.171 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.9927, allocations: 56.8 kB / 1.171 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.201e-05/0.9928, allocations: 101.8 kB / 1.171 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.9928, allocations: 29.7 kB / 1.171 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.086e-05/0.9929, allocations: 88.81 kB / 1.171 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/0.9929, allocations: 16.92 kB / 1.171 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-06/0.9929, allocations: 2 kB / 1.171 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.9931, allocations: 312.7 kB / 1.171 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.722e-05/0.9932, allocations: 26.27 kB / 1.171 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.317e-05/0.9933, allocations: 20.97 kB / 1.171 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.9934, allocations: 51.64 kB / 1.171 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.9934, allocations: 0 / 1.171 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002596/0.9937, allocations: 84.56 kB / 1.171 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.9937, allocations: 8 kB / 1.171 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.9938, allocations: 0.6562 kB / 1.171 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.9938, allocations: 0 / 1.171 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.9939, allocations: 15.69 kB / 1.171 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.9939, allocations: 0.7031 kB / 1.171 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.469e-05/0.994, allocations: 14.19 kB / 1.171 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.994, allocations: 0 / 1.171 GB, free: 12.05 MB / 0.7448 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 9.699e-05/0.9941, allocations: 110.5 kB / 1.172 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.759e-05/0.9942, allocations: 8.562 kB / 1.172 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/0.9944, allocations: 87.86 kB / 1.172 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.9945, allocations: 0.5625 kB / 1.172 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.9945, allocations: 0 / 1.172 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.9945, allocations: 3.797 kB / 1.172 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.9947, allocations: 165 kB / 1.172 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.9947, allocations: 0 / 1.172 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.139e-05/0.9948, allocations: 10.58 kB / 1.172 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.9948, allocations: 0.7031 kB / 1.172 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.9948, allocations: 8.031 kB / 1.172 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.9948, allocations: 3.938 kB / 1.172 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.9948, allocations: 1.547 kB / 1.172 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002975/0.9951, allocations: 175.6 kB / 1.172 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.718e-05/0.9952, allocations: 77.81 kB / 1.172 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.9952, allocations: 4.703 kB / 1.172 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.37e-05/0.9953, allocations: 10.06 kB / 1.172 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.9953, allocations: 1.359 kB / 1.172 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.9953, allocations: 5.719 kB / 1.172 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.132e-05/0.9954, allocations: 80.64 kB / 1.172 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9954, allocations: 3.938 kB / 1.172 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002364/0.9956, allocations: 16.73 kB / 1.172 GB, free: 11.25 MB / 0.7448 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.0002009/0.9958, allocations: 117.6 kB / 1.172 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002221/0.9961, allocations: 49.88 kB / 1.172 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.9961, allocations: 4.812 kB / 1.172 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.218e-05/0.9962, allocations: 24.97 kB / 1.172 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.9965, allocations: 8.641 kB / 1.172 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003389/0.9968, allocations: 112.4 kB / 1.173 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.9971, allocations: 0.6802 MB / 1.173 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.868e-05/0.9971, allocations: 0 / 1.173 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.037e-05/0.9972, allocations: 13.31 kB / 1.173 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of SimCode: time 3.01e-07/0.9972, allocations: 0 / 1.173 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of Templates: time 0.003207/1, allocations: 0.6088 MB / 1.174 GB, free: 9.879 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)