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.001069/0.001068, allocations: 106.9 kB / 16.35 MB, free: 5.879 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.000995/0.000995, allocations: 191 kB / 17.29 MB, free: 5.516 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.343/1.343, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.784/1.784, allocations: 292.3 MB / 0.5496 GB, free: 17.45 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.001459/0.001459, allocations: 71.89 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2265, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001872/0.2284, allocations: 0.5864 MB / 0.7854 GB, free: 2.566 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0006083/0.2291, allocations: 318.9 kB / 0.7857 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.635e-05/0.2291, allocations: 0 / 0.7857 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.781e-05/0.2291, allocations: 0 / 0.7857 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.36e-06/0.2291, allocations: 0 / 0.7857 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004033/0.2295, allocations: 103.7 kB / 0.7858 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 3.573e-05/0.2296, allocations: 0 / 0.7858 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.27e-05/0.2296, allocations: 4 kB / 0.7858 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.198e-05/0.2297, allocations: 4 kB / 0.7858 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.077e-05/0.2297, allocations: 3.984 kB / 0.7858 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.067e-06/0.2297, allocations: 0 / 0.7858 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003933/0.2301, allocations: 279.6 kB / 0.786 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.746e-06/0.2301, allocations: 0 / 0.786 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.7e-05/0.2301, allocations: 3.938 kB / 0.786 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.2303, allocations: 83.86 kB / 0.7861 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2303, allocations: 0 / 0.7861 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2303, allocations: 0 / 0.7861 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.2303, allocations: 0 / 0.7861 GB, free: 1.781 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.0003267/0.2307, allocations: 339.6 kB / 0.7864 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.2307, allocations: 12.03 kB / 0.7865 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.72e-05/0.2308, allocations: 4.875 kB / 0.7865 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.717e-05/0.2309, allocations: 164.4 kB / 0.7866 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.2309, allocations: 384 / 0.7866 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.2309, allocations: 4.312 kB / 0.7866 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.9e-05/0.231, allocations: 30.27 kB / 0.7866 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.231, allocations: 192 / 0.7867 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.231, allocations: 3.938 kB / 0.7867 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.231, allocations: 0 / 0.7867 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.642e-05/0.231, allocations: 4 kB / 0.7867 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001339/0.2312, allocations: 149.7 kB / 0.7868 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.087e-05/0.2312, allocations: 18.56 kB / 0.7868 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.456e-05/0.2313, allocations: 8.797 kB / 0.7868 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000481/0.2317, allocations: 429.6 kB / 0.7872 GB, free: 400 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.2318, allocations: 30.56 kB / 0.7873 GB, free: 360 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.2318, allocations: 4 kB / 0.7873 GB, free: 356 kB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001333/0.2319, allocations: 33.64 kB / 0.7873 GB, free: 316 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.232, allocations: 55.34 kB / 0.7874 GB, free: 248 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.267e-05/0.232, allocations: 89.86 kB / 0.7874 GB, free: 148 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.232, allocations: 25.7 kB / 0.7875 GB, free: 116 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.686e-05/0.2321, allocations: 88.27 kB / 0.7875 GB, free: 24 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.2321, allocations: 3.984 kB / 0.7876 GB, free: 20 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.3524/0.5845, allocations: 17.7 kB / 0.7876 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.498e-05/0.5846, allocations: 310.8 kB / 0.7879 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.938e-05/0.5846, allocations: 2.438 kB / 0.7879 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.474e-05/0.5847, allocations: 1.25 kB / 0.7879 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.441e-05/0.5847, allocations: 7.234 kB / 0.7879 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.5847, allocations: 0 / 0.7879 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001027/0.5848, allocations: 36.27 kB / 0.7879 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.5848, allocations: 4.375 kB / 0.7879 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.5849, allocations: 2.438 kB / 0.7879 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.5849, allocations: 9.797 kB / 0.7879 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.938e-05/0.5849, allocations: 1.562 kB / 0.7879 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.585, allocations: 5.906 kB / 0.7879 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.481e-05/0.585, allocations: 2.812 kB / 0.7879 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.585, allocations: 1 kB / 0.7879 GB, free: 48.44 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 5.052e-05/0.5851, allocations: 109.4 kB / 0.788 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.5851, allocations: 0 / 0.788 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.302e-05/0.5852, allocations: 45.64 kB / 0.7881 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.5852, allocations: 0 / 0.7881 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5852, allocations: 10.47 kB / 0.7881 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.5852, allocations: 0 / 0.7881 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.556e-05/0.5853, allocations: 151.2 kB / 0.7882 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.5853, allocations: 0.5625 kB / 0.7882 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.184e-05/0.5853, allocations: 1.531 kB / 0.7882 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.5853, allocations: 2.125 kB / 0.7882 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.5853, allocations: 2.578 kB / 0.7882 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.5853, allocations: 1.594 kB / 0.7882 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5853, allocations: 3.938 kB / 0.7883 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.043e-05/0.5854, allocations: 61.66 kB / 0.7883 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.812e-05/0.5854, allocations: 80.62 kB / 0.7884 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.5855, allocations: 1.938 kB / 0.7884 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.029e-05/0.5855, allocations: 2.531 kB / 0.7884 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/0.5855, allocations: 7.656 kB / 0.7884 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/0.5855, allocations: 0 / 0.7884 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.245e-05/0.5855, allocations: 75.88 kB / 0.7885 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5855, allocations: 1.312 kB / 0.7885 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002956/0.5858, allocations: 14.75 kB / 0.7885 GB, free: 47.87 MB / 0.6544 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 (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 Backend phase and start with SimCode phase: time 0.000179/0.586, allocations: 114.9 kB / 0.7886 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.036e-05/0.5861, allocations: 4.906 kB / 0.7886 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.5861, allocations: 0 / 0.7886 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.476e-06/0.5861, allocations: 9.625 kB / 0.7886 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/0.5863, allocations: 2.938 kB / 0.7886 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001619/0.5864, allocations: 70.84 kB / 0.7887 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.266e-05/0.5865, allocations: 0.6719 MB / 0.7893 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.547e-05/0.5865, allocations: 0 / 0.7893 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.161e-05/0.5866, allocations: 7.969 kB / 0.7893 GB, free: 47 MB / 0.6544 GB Notification: Performance of SimCode: time 1.9e-07/0.5866, allocations: 3 kB / 0.7893 GB, free: 47 MB / 0.6544 GB Notification: Performance of Templates: time 0.002273/0.5888, allocations: 457.5 kB / 0.7898 GB, free: 47 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)