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/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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008114/0.0008112, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009919/0.000992, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.764/1.764, allocations: 205.4 MB / 222.1 MB, free: 5.883 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.789/1.789, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.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: Performance of FrontEnd - loaded program: time 0.0005327/0.0005327, allocations: 23.22 kB / 0.6737 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2911, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001979/0.2931, allocations: 1.156 MB / 0.7884 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008213/0.294, allocations: 357.1 kB / 0.7888 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.365e-05/0.294, allocations: 0 / 0.7888 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.859e-05/0.2941, allocations: 0 / 0.7888 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.823e-05/0.2941, allocations: 0 / 0.7888 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004247/0.2946, allocations: 79.78 kB / 0.7888 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.441e-05/0.2947, allocations: 27.92 kB / 0.7889 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.2948, allocations: 0 / 0.7889 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.594e-05/0.2948, allocations: 8 kB / 0.7889 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.73e-05/0.2949, allocations: 11.92 kB / 0.7889 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.2949, allocations: 0 / 0.7889 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003855/0.2953, allocations: 263.7 kB / 0.7891 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.2953, allocations: 4 kB / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.196e-05/0.2954, allocations: 29.69 kB / 0.7892 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.2956, allocations: 67.89 kB / 0.7892 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.2956, allocations: 3.984 kB / 0.7892 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.047e-06/0.2956, allocations: 4 kB / 0.7892 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.2956, allocations: 3.938 kB / 0.7892 GB, free: 9.941 MB / 0.6075 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.0005838/0.2962, allocations: 367.5 kB / 0.7896 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.2962, allocations: 8.031 kB / 0.7896 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.344e-05/0.2963, allocations: 4 kB / 0.7896 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.2965, allocations: 170.9 kB / 0.7898 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.2965, allocations: 0 / 0.7898 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.2965, allocations: 8 kB / 0.7898 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.2967, allocations: 53.67 kB / 0.7898 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.2968, allocations: 3.938 kB / 0.7898 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.2968, allocations: 0 / 0.7898 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.2968, allocations: 0 / 0.7898 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.297, allocations: 47.95 kB / 0.7899 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/0.2974, allocations: 264.8 kB / 0.7901 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.2975, allocations: 42.56 kB / 0.7902 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.27e-05/0.2976, allocations: 24.91 kB / 0.7902 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007194/0.2983, allocations: 469.5 kB / 0.7906 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.2984, allocations: 30.56 kB / 0.7907 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.2984, allocations: 0 / 0.7907 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003867/0.2988, allocations: 105.6 kB / 0.7908 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.2988, allocations: 51.41 kB / 0.7908 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.2989, allocations: 105.8 kB / 0.7909 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.299, allocations: 25.7 kB / 0.7909 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.961e-05/0.299, allocations: 84.14 kB / 0.791 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.299, allocations: 7.969 kB / 0.791 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/0.2991, allocations: 4 kB / 0.791 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.2992, allocations: 318.8 kB / 0.7913 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.679e-05/0.2993, allocations: 23.97 kB / 0.7914 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.432e-05/0.2993, allocations: 19.98 kB / 0.7914 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.266e-05/0.2994, allocations: 28.05 kB / 0.7914 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2994, allocations: 0 / 0.7914 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001901/0.2996, allocations: 81.59 kB / 0.7915 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.2997, allocations: 6.812 kB / 0.7915 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.2997, allocations: 0 / 0.7915 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.2997, allocations: 0 / 0.7915 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.69e-05/0.2998, allocations: 20.17 kB / 0.7915 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.2998, allocations: 0 / 0.7915 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.804e-05/0.2999, allocations: 8 kB / 0.7915 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.2999, allocations: 4 kB / 0.7915 GB, free: 7.297 MB / 0.6075 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 8.15e-05/0.3, allocations: 124.7 kB / 0.7916 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.3, allocations: 3.906 kB / 0.7916 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.3002, allocations: 89.17 kB / 0.7917 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3002, allocations: 4.031 kB / 0.7917 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3003, allocations: 3.938 kB / 0.7917 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3003, allocations: 0 / 0.7917 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.3004, allocations: 161.6 kB / 0.7919 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.3004, allocations: 0 / 0.7919 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.357e-05/0.3005, allocations: 12 kB / 0.7919 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3005, allocations: 3.984 kB / 0.7919 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.3005, allocations: 0 / 0.7919 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3005, allocations: 0 / 0.7919 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3005, allocations: 3.938 kB / 0.7919 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.3008, allocations: 179.5 kB / 0.7921 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.297e-05/0.3008, allocations: 81.02 kB / 0.7922 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.3008, allocations: 4.031 kB / 0.7922 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-05/0.3009, allocations: 11.98 kB / 0.7922 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.301, allocations: 0 / 0.7922 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-06/0.301, allocations: 0 / 0.7922 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.078e-05/0.301, allocations: 83.28 kB / 0.7922 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.543e-06/0.301, allocations: 0 / 0.7922 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002239/0.3012, allocations: 19.92 kB / 0.7923 GB, free: 6.426 MB / 0.6075 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.0001801/0.3014, allocations: 115.2 kB / 0.7924 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002005/0.3016, allocations: 39.97 kB / 0.7924 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3017, allocations: 4 kB / 0.7924 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.252e-05/0.3017, allocations: 32.03 kB / 0.7924 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.302, allocations: 3.953 kB / 0.7925 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002748/0.3023, allocations: 116.6 kB / 0.7926 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.3026, allocations: 0.6809 MB / 0.7932 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.275e-05/0.3026, allocations: 3.938 kB / 0.7932 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.657e-05/0.3026, allocations: 11.5 kB / 0.7932 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.3026, allocations: 0 / 0.7932 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of Templates: time 0.00281/0.3054, allocations: 0.6346 MB / 0.7939 GB, free: 4.738 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: