Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 118.2 kB / 16.38 MB, free: 6.02 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.001176/0.001177, allocations: 189.1 kB / 17.31 MB, free: 5.617 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.293/1.293, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.695/1.695, allocations: 292.3 MB / 0.5496 GB, free: 17.71 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: 79.89 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1912, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.002047/0.1933, allocations: 0.5851 MB / 0.7854 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005892/0.194, allocations: 326.8 kB / 0.7857 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.448e-05/0.194, allocations: 0 / 0.7857 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.246e-05/0.194, allocations: 0 / 0.7857 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.849e-06/0.1941, allocations: 0 / 0.7857 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004403/0.1945, allocations: 99.7 kB / 0.7858 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.404e-05/0.1946, allocations: 8 kB / 0.7858 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.087e-05/0.1946, allocations: 3.984 kB / 0.7858 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.379e-05/0.1946, allocations: 3.938 kB / 0.7858 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 1.836e-05/0.1946, allocations: 7.938 kB / 0.7858 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.656e-06/0.1947, allocations: 0 / 0.7858 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003773/0.195, allocations: 267.7 kB / 0.7861 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.257e-06/0.1951, allocations: 4 kB / 0.7861 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.355e-05/0.1951, allocations: 0 / 0.7861 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.1953, allocations: 87.84 kB / 0.7862 GB, free: 1.789 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1953, allocations: 0 / 0.7862 GB, free: 1.789 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1953, allocations: 0 / 0.7862 GB, free: 1.789 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.1953, allocations: 4 kB / 0.7862 GB, free: 1.785 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002683/0.1956, allocations: 339.5 kB / 0.7865 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1956, allocations: 8.031 kB / 0.7865 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5e-05/0.1957, allocations: 8.922 kB / 0.7865 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.685e-05/0.1957, allocations: 160.4 kB / 0.7867 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.1957, allocations: 4.375 kB / 0.7867 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-06/0.1958, allocations: 384 / 0.7867 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.599e-05/0.1958, allocations: 26.27 kB / 0.7867 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.1959, allocations: 4.188 kB / 0.7867 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.1959, allocations: 3.938 kB / 0.7867 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.1959, allocations: 3.938 kB / 0.7867 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.999e-05/0.1959, allocations: 7.984 kB / 0.7867 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001171/0.196, allocations: 149.7 kB / 0.7868 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.506e-05/0.1961, allocations: 22.55 kB / 0.7869 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.336e-05/0.1961, allocations: 4.859 kB / 0.7869 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004476/0.1965, allocations: 429.6 kB / 0.7873 GB, free: 400 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.1966, allocations: 30.56 kB / 0.7873 GB, free: 360 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.1966, allocations: 0 / 0.7873 GB, free: 360 kB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001301/0.1967, allocations: 33.64 kB / 0.7873 GB, free: 320 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.1967, allocations: 63.33 kB / 0.7874 GB, free: 244 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.034e-05/0.1968, allocations: 93.98 kB / 0.7875 GB, free: 140 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.1968, allocations: 25.7 kB / 0.7875 GB, free: 108 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.058e-05/0.1968, allocations: 80.14 kB / 0.7876 GB, free: 24 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.1969, allocations: 4 kB / 0.7876 GB, free: 20 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.361e-05/0.1969, allocations: 9.719 kB / 0.7876 GB, free: 4 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.3004/0.4972, allocations: 311.4 kB / 0.7879 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.973e-05/0.4973, allocations: 2.719 kB / 0.7879 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.367e-05/0.4973, allocations: 0 / 0.7879 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.592e-05/0.4974, allocations: 8.922 kB / 0.7879 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.4974, allocations: 0 / 0.7879 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000101/0.4975, allocations: 34.8 kB / 0.788 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.4975, allocations: 6.844 kB / 0.788 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4975, allocations: 6.938 kB / 0.788 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.4975, allocations: 0.5625 kB / 0.788 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.452e-05/0.4976, allocations: 2.531 kB / 0.788 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.4976, allocations: 5.469 kB / 0.788 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.561e-05/0.4976, allocations: 3.328 kB / 0.788 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.4977, allocations: 0 / 0.788 GB, free: 48.51 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 (1): * Single equations (assignments): 1 * 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 4.294e-05/0.4977, allocations: 110.3 kB / 0.7881 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.4977, allocations: 1.359 kB / 0.7881 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.958e-05/0.4978, allocations: 41.27 kB / 0.7881 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4978, allocations: 4.312 kB / 0.7881 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4978, allocations: 4.875 kB / 0.7881 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.975e-05/0.4979, allocations: 82.59 kB / 0.7882 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-06/0.4979, allocations: 3.875 kB / 0.7882 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.696e-06/0.4979, allocations: 0 / 0.7882 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.038e-05/0.4979, allocations: 2.688 kB / 0.7882 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 4.358e-05/0.4979, allocations: 107.2 kB / 0.7883 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 7.95e-05/0.498, allocations: 211.5 kB / 0.7885 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.533e-05/0.4981, allocations: 4.375 kB / 0.7885 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.157e-05/0.4981, allocations: 75.28 kB / 0.7886 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of Backend: time 9.52e-07/0.4981, allocations: 1.031 kB / 0.7886 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005007/0.4986, allocations: 119.2 kB / 0.7887 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0001971/0.4988, allocations: 0.5253 MB / 0.7892 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of Templates: time 0.002764/0.5016, allocations: 1.06 MB / 0.7903 GB, free: 47.26 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)