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.001055/0.001055, allocations: 106.6 kB / 16.29 MB, free: 6.43 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.0009241/0.0009241, allocations: 184 kB / 17.22 MB, free: 5.934 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.192/1.192, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.601/1.601, allocations: 292.3 MB / 0.5495 GB, free: 17.59 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.00127/0.00127, allocations: 71.91 kB / 0.6722 GB, free: 6.5 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1963, allocations: 114.6 MB / 0.7841 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001555/0.1979, allocations: 0.5747 MB / 0.7847 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005547/0.1985, allocations: 326.8 kB / 0.785 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.482e-05/0.1985, allocations: 0 / 0.785 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.288e-05/0.1985, allocations: 0 / 0.785 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.949e-06/0.1986, allocations: 0 / 0.785 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003888/0.199, allocations: 107.7 kB / 0.7851 GB, free: 2.82 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 3.427e-05/0.199, allocations: 0 / 0.7851 GB, free: 2.82 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.857e-05/0.199, allocations: 0 / 0.7851 GB, free: 2.82 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.188e-05/0.1991, allocations: 7.938 kB / 0.7851 GB, free: 2.812 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.036e-05/0.1991, allocations: 0 / 0.7851 GB, free: 2.812 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.077e-06/0.1991, allocations: 3.938 kB / 0.7851 GB, free: 2.809 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003687/0.1995, allocations: 279.6 kB / 0.7853 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.656e-06/0.1995, allocations: 0 / 0.7853 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.271e-05/0.1995, allocations: 0 / 0.7853 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.1997, allocations: 87.84 kB / 0.7854 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1997, allocations: 0 / 0.7854 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1997, allocations: 4 kB / 0.7854 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.1997, allocations: 0 / 0.7854 GB, free: 2.445 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.0002762/0.2, allocations: 327.6 kB / 0.7857 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.2, allocations: 11.97 kB / 0.7858 GB, free: 2.062 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.76e-05/0.2001, allocations: 4.938 kB / 0.7858 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.363e-05/0.2001, allocations: 168.4 kB / 0.7859 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.2002, allocations: 384 / 0.7859 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-06/0.2002, allocations: 384 / 0.7859 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.091e-05/0.2003, allocations: 34.27 kB / 0.786 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.2003, allocations: 192 / 0.786 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.2003, allocations: 3.938 kB / 0.786 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2003, allocations: 0 / 0.786 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.796e-05/0.2003, allocations: 3.938 kB / 0.786 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001171/0.2004, allocations: 141.7 kB / 0.7861 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.355e-05/0.2005, allocations: 26.59 kB / 0.7861 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.548e-05/0.2005, allocations: 4.859 kB / 0.7861 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004347/0.2009, allocations: 433.5 kB / 0.7865 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.201, allocations: 30.56 kB / 0.7866 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.201, allocations: 0 / 0.7866 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001272/0.2011, allocations: 41.58 kB / 0.7866 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.2011, allocations: 51.53 kB / 0.7867 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.452e-05/0.2012, allocations: 93.86 kB / 0.7867 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.2012, allocations: 25.7 kB / 0.7868 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.097e-05/0.2012, allocations: 80.14 kB / 0.7869 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.2012, allocations: 3.984 kB / 0.7869 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/0.2013, allocations: 17.72 kB / 0.7869 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.571e-05/0.2014, allocations: 310.8 kB / 0.7872 GB, free: 368 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-06/0.2014, allocations: 0 / 0.7872 GB, free: 368 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.893e-06/0.2014, allocations: 4 kB / 0.7872 GB, free: 364 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.968e-05/0.2014, allocations: 8.922 kB / 0.7872 GB, free: 352 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2014, allocations: 0 / 0.7872 GB, free: 352 kB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.181e-05/0.2015, allocations: 37.64 kB / 0.7872 GB, free: 308 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.2015, allocations: 4 kB / 0.7872 GB, free: 304 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.2015, allocations: 3.984 kB / 0.7872 GB, free: 300 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.2015, allocations: 3.938 kB / 0.7872 GB, free: 296 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.555e-05/0.2016, allocations: 4 kB / 0.7872 GB, free: 292 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2016, allocations: 0 / 0.7872 GB, free: 292 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.048e-05/0.2016, allocations: 7.906 kB / 0.7872 GB, free: 284 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.2016, allocations: 4.031 kB / 0.7872 GB, free: 280 kB / 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.51e-05/0.2017, allocations: 110.1 kB / 0.7873 GB, free: 160 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.859e-05/0.2017, allocations: 4 kB / 0.7874 GB, free: 156 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.435e-05/0.2018, allocations: 48.67 kB / 0.7874 GB, free: 100 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2018, allocations: 0 / 0.7874 GB, free: 100 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2018, allocations: 0 / 0.7874 GB, free: 100 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2018, allocations: 0 / 0.7874 GB, free: 100 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2969/0.4987, allocations: 155 kB / 0.7875 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.4988, allocations: 1.188 kB / 0.7875 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.332e-05/0.4988, allocations: 1.875 kB / 0.7875 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.4988, allocations: 1.172 kB / 0.7875 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.4988, allocations: 6.234 kB / 0.7876 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.4989, allocations: 0.875 kB / 0.7876 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4989, allocations: 0 / 0.7876 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.499, allocations: 55.31 kB / 0.7876 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.547e-05/0.499, allocations: 79.72 kB / 0.7877 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.499, allocations: 4.5 kB / 0.7877 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.943e-06/0.499, allocations: 3.969 kB / 0.7877 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.309e-05/0.499, allocations: 1.219 kB / 0.7877 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.4991, allocations: 3.188 kB / 0.7877 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.351e-05/0.4991, allocations: 77.75 kB / 0.7878 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.4991, allocations: 0 / 0.7878 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001923/0.4993, allocations: 11.59 kB / 0.7878 GB, free: 48.23 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.0001525/0.4994, allocations: 112.6 kB / 0.7879 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 7.173e-05/0.4995, allocations: 7.938 kB / 0.7879 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4995, allocations: 3.031 kB / 0.7879 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.041e-06/0.4995, allocations: 3.438 kB / 0.7879 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001212/0.4997, allocations: 0.875 kB / 0.7879 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001401/0.4998, allocations: 76.25 kB / 0.788 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.753e-05/0.4999, allocations: 0.6741 MB / 0.7886 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.92e-05/0.4999, allocations: 1.344 kB / 0.7886 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.999e-06/0.4999, allocations: 11.27 kB / 0.7886 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of SimCode: time 1.91e-07/0.4999, allocations: 1.219 kB / 0.7886 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of Templates: time 0.002041/0.502, allocations: 460.7 kB / 0.7891 GB, free: 47.36 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)