Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001159/0.001159, allocations: 104.5 kB / 16.36 MB, free: 5.875 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.001121/0.001121, allocations: 194.3 kB / 17.3 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8589/0.8589, allocations: 143.1 MB / 434.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 71.89 kB / 0.5156 GB, free: 14.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3662, allocations: 82.03 MB / 0.5957 GB, free: 16.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.00249/0.3687, allocations: 1.435 MB / 0.5971 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00065/0.3694, allocations: 381.1 kB / 0.5974 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.631e-05/0.3695, allocations: 0 / 0.5974 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.771e-05/0.3695, allocations: 0 / 0.5974 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.87e-05/0.3696, allocations: 13.2 kB / 0.5975 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003938/0.37, allocations: 122.2 kB / 0.5976 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.734e-05/0.37, allocations: 25.39 kB / 0.5976 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.09e-05/0.3701, allocations: 0 / 0.5976 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.469e-05/0.3702, allocations: 8 kB / 0.5976 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.507e-05/0.3702, allocations: 17.36 kB / 0.5976 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.3702, allocations: 7.938 kB / 0.5976 GB, free: 14.15 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002854/0.3705, allocations: 279.6 kB / 0.5979 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.3705, allocations: 3.938 kB / 0.5979 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.5e-05/0.3706, allocations: 16.67 kB / 0.5979 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.3707, allocations: 99.83 kB / 0.598 GB, free: 13.76 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3707, allocations: 5.438 kB / 0.598 GB, free: 13.76 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3707, allocations: 0 / 0.598 GB, free: 13.76 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.3708, allocations: 0 / 0.598 GB, free: 13.76 MB / 446.1 MB 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.000368/0.3711, allocations: 368.4 kB / 0.5984 GB, free: 13.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.3712, allocations: 8.031 kB / 0.5984 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.507e-05/0.3712, allocations: 4.938 kB / 0.5984 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.396e-05/0.3713, allocations: 165.2 kB / 0.5985 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.3713, allocations: 8.375 kB / 0.5986 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-06/0.3713, allocations: 1.844 kB / 0.5986 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.3715, allocations: 50.23 kB / 0.5986 GB, free: 13.08 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.3715, allocations: 0.9375 kB / 0.5986 GB, free: 13.08 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.3715, allocations: 3.938 kB / 0.5986 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3716, allocations: 1.5 kB / 0.5986 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.3717, allocations: 43.88 kB / 0.5986 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002619/0.372, allocations: 243.3 kB / 0.5989 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.3721, allocations: 46.48 kB / 0.5989 GB, free: 12.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.887e-05/0.3722, allocations: 22.31 kB / 0.5989 GB, free: 12.67 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000562/0.3728, allocations: 460.3 kB / 0.5994 GB, free: 12.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.3728, allocations: 35.78 kB / 0.5994 GB, free: 12.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.3728, allocations: 7.875 kB / 0.5994 GB, free: 12.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003465/0.3731, allocations: 84.05 kB / 0.5995 GB, free: 11.99 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.3732, allocations: 51.41 kB / 0.5996 GB, free: 11.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.445e-05/0.3732, allocations: 101.9 kB / 0.5997 GB, free: 11.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.663e-06/0.3732, allocations: 26.95 kB / 0.5997 GB, free: 11.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.88e-05/0.3733, allocations: 89.95 kB / 0.5998 GB, free: 11.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/0.3733, allocations: 7.891 kB / 0.5998 GB, free: 11.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.878e-05/0.3733, allocations: 19.03 kB / 0.5998 GB, free: 11.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.429e-05/0.3734, allocations: 310.8 kB / 0.6001 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.453e-05/0.3735, allocations: 21.34 kB / 0.6001 GB, free: 11.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.064e-05/0.3735, allocations: 15.98 kB / 0.6001 GB, free: 11.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.3737, allocations: 42.86 kB / 0.6002 GB, free: 11.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3737, allocations: 7.938 kB / 0.6002 GB, free: 11.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001731/0.3739, allocations: 74.88 kB / 0.6002 GB, free: 11.19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.3739, allocations: 4 kB / 0.6002 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.3739, allocations: 1.344 kB / 0.6002 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3739, allocations: 0 / 0.6002 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.384e-05/0.374, allocations: 11.98 kB / 0.6003 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.374, allocations: 1.531 kB / 0.6003 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.145e-05/0.374, allocations: 4 kB / 0.6003 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.374, allocations: 256 / 0.6003 GB, free: 11.17 MB / 446.1 MB 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 4.279e-05/0.3741, allocations: 119 kB / 0.6004 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/0.3741, allocations: 4 kB / 0.6004 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001934/0.3743, allocations: 74.5 kB / 0.6005 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3744, allocations: 5.406 kB / 0.6005 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.3744, allocations: 0 / 0.6005 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3744, allocations: 0 / 0.6005 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.3745, allocations: 165.6 kB / 0.6006 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3745, allocations: 0.9375 kB / 0.6006 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.161e-05/0.3745, allocations: 11.98 kB / 0.6006 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3746, allocations: 1.188 kB / 0.6006 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-06/0.3746, allocations: 0 / 0.6006 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3746, allocations: 0 / 0.6006 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.3746, allocations: 0 / 0.6006 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.3748, allocations: 173.5 kB / 0.6008 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.6e-05/0.3748, allocations: 85.89 kB / 0.6009 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.3748, allocations: 0 / 0.6009 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.988e-05/0.3749, allocations: 9.078 kB / 0.6009 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.3749, allocations: 0 / 0.6009 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.3749, allocations: 5.125 kB / 0.6009 GB, free: 10.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.529e-05/0.375, allocations: 83.28 kB / 0.601 GB, free: 10.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.375, allocations: 0 / 0.601 GB, free: 10.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002382/0.3752, allocations: 17.16 kB / 0.601 GB, free: 10.34 MB / 446.1 MB 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.0001421/0.3754, allocations: 111.7 kB / 0.6011 GB, free: 10.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002174/0.3756, allocations: 41.11 kB / 0.6011 GB, free: 10.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3756, allocations: 0.5 kB / 0.6011 GB, free: 10.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.661e-05/0.3757, allocations: 25.92 kB / 0.6012 GB, free: 10.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.376, allocations: 9.766 kB / 0.6012 GB, free: 10.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002235/0.3762, allocations: 107 kB / 0.6013 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.641e-05/0.3763, allocations: 0.6768 MB / 0.6019 GB, free: 9.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.261e-05/0.3763, allocations: 7.984 kB / 0.6019 GB, free: 9.312 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.721e-05/0.3763, allocations: 12.03 kB / 0.6019 GB, free: 9.301 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3763, allocations: 0.5 kB / 0.6019 GB, free: 9.301 MB / 446.1 MB Notification: Performance of Templates: time 0.002649/0.379, allocations: 0.7129 MB / 0.6026 GB, free: 8.617 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)