Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00788/0.00788, allocations: 102.3 kB / 15.73 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 192.6 kB / 16.67 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.689/1.689, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4899/0.4899, allocations: 95.47 MB / 365.4 MB, free: 12.18 MB / 318.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 67.91 kB / 0.5036 GB, free: 11.86 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4688/0.4707, allocations: 69.09 MB / 0.5711 GB, free: 4.16 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.003742/0.4745, allocations: 1.406 MB / 0.5725 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007719/0.4753, allocations: 355.3 kB / 0.5728 GB, free: 2.395 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.157e-05/0.4754, allocations: 0 / 0.5728 GB, free: 2.395 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.135e-05/0.4755, allocations: 3.938 kB / 0.5728 GB, free: 2.391 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.056e-05/0.4755, allocations: 7.938 kB / 0.5728 GB, free: 2.383 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005638/0.4761, allocations: 111.1 kB / 0.5729 GB, free: 2.277 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.109e-05/0.4762, allocations: 23.92 kB / 0.5729 GB, free: 2.254 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.4763, allocations: 7.984 kB / 0.5729 GB, free: 2.246 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.65e-05/0.4764, allocations: 7.984 kB / 0.573 GB, free: 2.238 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.592e-05/0.4764, allocations: 11.94 kB / 0.573 GB, free: 2.227 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.4764, allocations: 4 kB / 0.573 GB, free: 2.223 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003978/0.4768, allocations: 235.7 kB / 0.5732 GB, free: 1.992 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.129e-05/0.4769, allocations: 11.94 kB / 0.5732 GB, free: 1.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.578e-05/0.4769, allocations: 15.92 kB / 0.5732 GB, free: 1.965 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.4772, allocations: 107.8 kB / 0.5733 GB, free: 1.859 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.4772, allocations: 0 / 0.5733 GB, free: 1.859 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4772, allocations: 3.938 kB / 0.5733 GB, free: 1.855 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.4772, allocations: 0 / 0.5733 GB, free: 1.855 MB / 430.1 MB 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.0005497/0.4777, allocations: 359.5 kB / 0.5737 GB, free: 1.457 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.4778, allocations: 11.98 kB / 0.5737 GB, free: 1.445 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.616e-05/0.4779, allocations: 4.938 kB / 0.5737 GB, free: 1.441 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.478, allocations: 166.8 kB / 0.5738 GB, free: 1.242 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.4781, allocations: 8.125 kB / 0.5738 GB, free: 1.234 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.4781, allocations: 0 / 0.5738 GB, free: 1.234 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.4783, allocations: 49.67 kB / 0.5739 GB, free: 1.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.4783, allocations: 0 / 0.5739 GB, free: 1.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.4783, allocations: 0 / 0.5739 GB, free: 1.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.4783, allocations: 0 / 0.5739 GB, free: 1.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.4785, allocations: 35.95 kB / 0.5739 GB, free: 1.145 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003874/0.4789, allocations: 268.8 kB / 0.5742 GB, free: 0.832 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.479, allocations: 38.56 kB / 0.5742 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.962e-05/0.4791, allocations: 20.91 kB / 0.5742 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007115/0.4798, allocations: 461.5 kB / 0.5747 GB, free: 224 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.4799, allocations: 30.56 kB / 0.5747 GB, free: 184 kB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.4799, allocations: 3.938 kB / 0.5747 GB, free: 180 kB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003964/0.4803, allocations: 89.58 kB / 0.5748 GB, free: 84 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.4803, allocations: 51.41 kB / 0.5749 GB, free: 20 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.445e-05/0.4804, allocations: 105.8 kB / 0.575 GB, free: 15.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.4805, allocations: 25.7 kB / 0.575 GB, free: 15.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/0.4805, allocations: 84.14 kB / 0.5751 GB, free: 15.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.4806, allocations: 11.84 kB / 0.5751 GB, free: 15.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/0.4806, allocations: 9.844 kB / 0.5751 GB, free: 15.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.4807, allocations: 326.8 kB / 0.5754 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.655e-05/0.4808, allocations: 15.97 kB / 0.5754 GB, free: 15.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.663e-05/0.4809, allocations: 15.98 kB / 0.5754 GB, free: 15.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.481, allocations: 40.77 kB / 0.5755 GB, free: 15.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.481, allocations: 4.062 kB / 0.5755 GB, free: 15.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002097/0.4812, allocations: 69.59 kB / 0.5755 GB, free: 15.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.4813, allocations: 11.75 kB / 0.5755 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.4813, allocations: 0 / 0.5755 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.4813, allocations: 0 / 0.5755 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.177e-05/0.4814, allocations: 7.984 kB / 0.5755 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.4814, allocations: 4 kB / 0.5756 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.394e-05/0.4815, allocations: 7.984 kB / 0.5756 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.4815, allocations: 11.97 kB / 0.5756 GB, free: 15.24 MB / 446.1 MB 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 8.435e-05/0.4816, allocations: 106.5 kB / 0.5757 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.676e-05/0.4816, allocations: 7.906 kB / 0.5757 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002217/0.4818, allocations: 73.12 kB / 0.5757 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.4819, allocations: 4 kB / 0.5758 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.4819, allocations: 0 / 0.5758 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.4819, allocations: 0 / 0.5758 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.482, allocations: 165.6 kB / 0.5759 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4821, allocations: 0 / 0.5759 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.579e-05/0.4821, allocations: 11.98 kB / 0.5759 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.4821, allocations: 0 / 0.5759 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.4822, allocations: 0 / 0.5759 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4822, allocations: 0 / 0.5759 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4822, allocations: 0 / 0.5759 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002598/0.4824, allocations: 167.5 kB / 0.5761 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.976e-05/0.4825, allocations: 81.11 kB / 0.5762 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.4825, allocations: 256 / 0.5762 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.349e-05/0.4826, allocations: 15.92 kB / 0.5762 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.4826, allocations: 3.984 kB / 0.5762 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.4826, allocations: 0 / 0.5762 GB, free: 14.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.728e-05/0.4827, allocations: 91.22 kB / 0.5763 GB, free: 14.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4827, allocations: 0 / 0.5763 GB, free: 14.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002354/0.483, allocations: 31.86 kB / 0.5763 GB, free: 14.39 MB / 446.1 MB 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.0001859/0.4831, allocations: 104.3 kB / 0.5764 GB, free: 14.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002192/0.4834, allocations: 43.95 kB / 0.5764 GB, free: 14.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.4834, allocations: 0 / 0.5764 GB, free: 14.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.98e-05/0.4835, allocations: 19.92 kB / 0.5765 GB, free: 14.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.4838, allocations: 12.12 kB / 0.5765 GB, free: 14.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003252/0.4841, allocations: 109.1 kB / 0.5766 GB, free: 14.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.4844, allocations: 0.6807 MB / 0.5772 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.944e-05/0.4845, allocations: 0 / 0.5772 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.387e-05/0.4845, allocations: 7.438 kB / 0.5772 GB, free: 13.37 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4845, allocations: 0 / 0.5772 GB, free: 13.37 MB / 446.1 MB Notification: Performance of Templates: time 0.003578/0.4881, allocations: 0.7043 MB / 0.5779 GB, free: 12.66 MB / 446.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)