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.001245/0.001245, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 192.9 kB / 16.64 MB, free: 6.594 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.28/1.28, allocations: 205.1 MB / 222.5 MB, free: 4.582 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.677/1.677, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.001397/0.001397, allocations: 76.97 kB / 0.6723 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.217, allocations: 114.5 MB / 0.7841 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.00239/0.2195, allocations: 1.438 MB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000655/0.2201, allocations: 383.5 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.672e-05/0.2202, allocations: 4 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.78e-05/0.2202, allocations: 3.938 kB / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.931e-05/0.2202, allocations: 0 / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003996/0.2207, allocations: 119.6 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.784e-05/0.2207, allocations: 23.94 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.685e-05/0.2208, allocations: 7.984 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.096e-05/0.2209, allocations: 11.94 kB / 0.7861 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.383e-05/0.2209, allocations: 11.98 kB / 0.7861 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.2209, allocations: 4 kB / 0.7861 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003374/0.2213, allocations: 275.6 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.2213, allocations: 3.938 kB / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.206e-05/0.2213, allocations: 15.92 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.2215, allocations: 111.8 kB / 0.7865 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2215, allocations: 0 / 0.7865 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2215, allocations: 0 / 0.7865 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.2215, allocations: 0 / 0.7865 GB, free: 10.37 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.0004129/0.2219, allocations: 361.8 kB / 0.7868 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.222, allocations: 8.031 kB / 0.7868 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.593e-05/0.222, allocations: 8.922 kB / 0.7868 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.2221, allocations: 168.3 kB / 0.787 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-06/0.2221, allocations: 384 / 0.787 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.2222, allocations: 8.375 kB / 0.787 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.2223, allocations: 58.16 kB / 0.787 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.2223, allocations: 192 / 0.787 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.2223, allocations: 3.938 kB / 0.787 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.2224, allocations: 0 / 0.787 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.2225, allocations: 35.91 kB / 0.7871 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002627/0.2228, allocations: 249 kB / 0.7873 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.2229, allocations: 42.48 kB / 0.7874 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.07e-05/0.223, allocations: 24.91 kB / 0.7874 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006003/0.2236, allocations: 465.4 kB / 0.7878 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.2236, allocations: 34.55 kB / 0.7879 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.143e-06/0.2236, allocations: 0 / 0.7879 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.000333/0.224, allocations: 81.75 kB / 0.7879 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.224, allocations: 51.41 kB / 0.788 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.2242, allocations: 105.8 kB / 0.7881 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.2242, allocations: 25.7 kB / 0.7881 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.672e-05/0.2242, allocations: 91.97 kB / 0.7882 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.2243, allocations: 11.98 kB / 0.7882 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/0.2243, allocations: 13.66 kB / 0.7882 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.709e-05/0.2244, allocations: 314.8 kB / 0.7885 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.964e-05/0.2245, allocations: 20.02 kB / 0.7885 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.718e-05/0.2246, allocations: 19.91 kB / 0.7886 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.2247, allocations: 40.83 kB / 0.7886 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2247, allocations: 0 / 0.7886 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001925/0.2249, allocations: 77.56 kB / 0.7887 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.2249, allocations: 8 kB / 0.7887 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2249, allocations: 256 / 0.7887 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.225, allocations: 0 / 0.7887 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.433e-05/0.225, allocations: 11.98 kB / 0.7887 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.225, allocations: 0 / 0.7887 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.95e-05/0.2251, allocations: 4 kB / 0.7887 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.2251, allocations: 4 kB / 0.7887 GB, free: 7.75 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.089e-05/0.2252, allocations: 121.8 kB / 0.7888 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.2252, allocations: 7.984 kB / 0.7888 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002101/0.2254, allocations: 69.17 kB / 0.7889 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2254, allocations: 0 / 0.7889 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2254, allocations: 4 kB / 0.7889 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2255, allocations: 0 / 0.7889 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.2256, allocations: 165.6 kB / 0.7891 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2256, allocations: 0 / 0.7891 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.385e-05/0.2257, allocations: 12.03 kB / 0.7891 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2257, allocations: 0 / 0.7891 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.2257, allocations: 0 / 0.7891 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2257, allocations: 0 / 0.7891 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.2257, allocations: 3.984 kB / 0.7891 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.2259, allocations: 167.3 kB / 0.7892 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.432e-05/0.226, allocations: 89.12 kB / 0.7893 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.226, allocations: 3.938 kB / 0.7893 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.955e-05/0.2261, allocations: 4 kB / 0.7893 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-05/0.2261, allocations: 3.984 kB / 0.7893 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.2261, allocations: 0 / 0.7893 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.189e-05/0.2262, allocations: 87.28 kB / 0.7894 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2262, allocations: 0 / 0.7894 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002231/0.2264, allocations: 12 kB / 0.7894 GB, free: 6.91 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 (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.0001442/0.2265, allocations: 119.2 kB / 0.7895 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001976/0.2267, allocations: 35.91 kB / 0.7896 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.2268, allocations: 0 / 0.7896 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.163e-05/0.2268, allocations: 23.97 kB / 0.7896 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.2271, allocations: 7.938 kB / 0.7896 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002259/0.2273, allocations: 109.6 kB / 0.7897 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.2275, allocations: 0.6768 MB / 0.7904 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.108e-05/0.2276, allocations: 0 / 0.7904 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.843e-05/0.2276, allocations: 15.44 kB / 0.7904 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2276, allocations: 0 / 0.7904 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of Templates: time 0.002663/0.2303, allocations: 0.7213 MB / 0.7911 GB, free: 5.156 MB / 0.6075 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)