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.001224/0.001224, allocations: 106.5 kB / 16.36 MB, free: 6.258 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.001232/0.001232, allocations: 189.7 kB / 17.3 MB, free: 5.848 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.322/1.322, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.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.778/1.778, allocations: 292.3 MB / 0.5496 GB, free: 17.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.001388/0.001388, allocations: 75.89 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2024, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002622/0.2051, allocations: 1.442 MB / 0.7862 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0006535/0.2058, allocations: 383.5 kB / 0.7866 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.02e-05/0.2058, allocations: 0 / 0.7866 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.536e-05/0.2058, allocations: 0 / 0.7866 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.638e-05/0.2059, allocations: 3.938 kB / 0.7866 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004344/0.2063, allocations: 111.7 kB / 0.7867 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.322e-05/0.2064, allocations: 31.86 kB / 0.7867 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.665e-05/0.2065, allocations: 3.984 kB / 0.7867 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.324e-05/0.2066, allocations: 11.98 kB / 0.7867 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.277e-05/0.2066, allocations: 11.94 kB / 0.7867 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.2066, allocations: 7.938 kB / 0.7867 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003748/0.207, allocations: 279.6 kB / 0.787 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.209e-05/0.207, allocations: 0 / 0.787 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.316e-05/0.2071, allocations: 19.92 kB / 0.787 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.2073, allocations: 107.8 kB / 0.7871 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.2073, allocations: 0 / 0.7871 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2073, allocations: 0 / 0.7871 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.533e-06/0.2073, allocations: 0 / 0.7871 GB, free: 0.7578 MB / 0.6544 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.0004234/0.2077, allocations: 367.3 kB / 0.7875 GB, free: 356 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.2078, allocations: 11.97 kB / 0.7875 GB, free: 344 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.325e-05/0.2078, allocations: 4.938 kB / 0.7875 GB, free: 340 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.2079, allocations: 168.3 kB / 0.7876 GB, free: 132 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.208, allocations: 4.375 kB / 0.7877 GB, free: 128 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.208, allocations: 4.375 kB / 0.7877 GB, free: 124 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.2081, allocations: 50.23 kB / 0.7877 GB, free: 68 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.2082, allocations: 192 / 0.7877 GB, free: 68 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.2082, allocations: 3.938 kB / 0.7877 GB, free: 64 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.2082, allocations: 0 / 0.7877 GB, free: 64 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.2084, allocations: 39.94 kB / 0.7877 GB, free: 24 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3435/0.5519, allocations: 248.2 kB / 0.788 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.552, allocations: 42.41 kB / 0.788 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.414e-05/0.5521, allocations: 23.11 kB / 0.788 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005874/0.5527, allocations: 458.9 kB / 0.7885 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.5528, allocations: 40 kB / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 2.395e-06/0.5528, allocations: 0 / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003673/0.5531, allocations: 80.53 kB / 0.7886 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.543e-05/0.5532, allocations: 51.41 kB / 0.7886 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.801e-05/0.5532, allocations: 108.8 kB / 0.7888 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/0.5533, allocations: 25.7 kB / 0.7888 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.444e-05/0.5533, allocations: 89.06 kB / 0.7889 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.5533, allocations: 12.38 kB / 0.7889 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/0.5533, allocations: 16 kB / 0.7889 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.161e-05/0.5534, allocations: 311.4 kB / 0.7892 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.535e-05/0.5535, allocations: 19.08 kB / 0.7892 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.769e-05/0.5535, allocations: 19.86 kB / 0.7892 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.5537, allocations: 38.84 kB / 0.7893 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5537, allocations: 0.5 kB / 0.7893 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001848/0.5539, allocations: 67.89 kB / 0.7893 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.5539, allocations: 9.344 kB / 0.7893 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.5539, allocations: 0 / 0.7893 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.5539, allocations: 5.5 kB / 0.7893 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.297e-05/0.554, allocations: 11.97 kB / 0.7894 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.5541, allocations: 3.438 kB / 0.7894 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.312e-05/0.5541, allocations: 9.75 kB / 0.7894 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.5541, allocations: 0 / 0.7894 GB, free: 47.46 MB / 0.6544 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.311e-05/0.5542, allocations: 113.6 kB / 0.7895 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.5542, allocations: 9.797 kB / 0.7895 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000208/0.5544, allocations: 74.56 kB / 0.7896 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5545, allocations: 0.5312 kB / 0.7896 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.5545, allocations: 0 / 0.7896 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.107e-05/0.5545, allocations: 85.45 kB / 0.7896 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.5545, allocations: 2.688 kB / 0.7896 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.907e-05/0.5546, allocations: 6.953 kB / 0.7896 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.5546, allocations: 1.875 kB / 0.7896 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002096/0.5548, allocations: 150.2 kB / 0.7898 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002224/0.5551, allocations: 239.2 kB / 0.79 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.257e-05/0.5552, allocations: 19.08 kB / 0.79 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.255e-05/0.5552, allocations: 90.14 kB / 0.7901 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of Backend: time 5.01e-07/0.5552, allocations: 0.5625 kB / 0.7901 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000513/0.5557, allocations: 133.2 kB / 0.7902 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0003766/0.5561, allocations: 0.5478 MB / 0.7908 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of Templates: time 0.003422/0.5595, allocations: 1.404 MB / 0.7922 GB, free: 46.19 MB / 0.6544 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)