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.001053/0.001054, allocations: 112 kB / 15.99 MB, free: 6.348 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.001036/0.001036, allocations: 192.1 kB / 16.91 MB, free: 6.188 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.317/1.317, allocations: 222.9 MB / 240.6 MB, free: 13.71 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.8514/0.8514, allocations: 143.1 MB / 433.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.91 kB / 0.5143 GB, free: 15.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3697, allocations: 82.03 MB / 0.5944 GB, free: 16.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.002186/0.3719, allocations: 1.501 MB / 0.5959 GB, free: 14.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005646/0.3725, allocations: 385.2 kB / 0.5963 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.065e-05/0.3725, allocations: 0 / 0.5963 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.914e-05/0.3726, allocations: 3.938 kB / 0.5963 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.182e-05/0.3726, allocations: 0.7812 kB / 0.5963 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003788/0.373, allocations: 105.6 kB / 0.5964 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.156e-05/0.3731, allocations: 19.94 kB / 0.5964 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.724e-05/0.3732, allocations: 16.94 kB / 0.5964 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.582e-05/0.3732, allocations: 4 kB / 0.5964 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.254e-05/0.3733, allocations: 11.92 kB / 0.5964 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.3733, allocations: 5.125 kB / 0.5964 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002748/0.3736, allocations: 279.6 kB / 0.5967 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.3736, allocations: 7.984 kB / 0.5967 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.211e-05/0.3736, allocations: 17.41 kB / 0.5967 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.3737, allocations: 67.88 kB / 0.5968 GB, free: 13.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3737, allocations: 0 / 0.5968 GB, free: 13.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3738, allocations: 0 / 0.5968 GB, free: 13.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.3738, allocations: 1.344 kB / 0.5968 GB, free: 13.96 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.0004175/0.3742, allocations: 362.8 kB / 0.5971 GB, free: 13.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.3742, allocations: 8.031 kB / 0.5971 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.704e-05/0.3743, allocations: 4.938 kB / 0.5971 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.759e-05/0.3744, allocations: 172.3 kB / 0.5973 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.3744, allocations: 1.75 kB / 0.5973 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.3744, allocations: 4.375 kB / 0.5973 GB, free: 13.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.3746, allocations: 55.56 kB / 0.5974 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.3746, allocations: 192 / 0.5974 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.3746, allocations: 3.938 kB / 0.5974 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.3746, allocations: 0 / 0.5974 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.3748, allocations: 41.16 kB / 0.5974 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002701/0.3751, allocations: 246 kB / 0.5976 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.3752, allocations: 43.86 kB / 0.5977 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.631e-05/0.3753, allocations: 25.84 kB / 0.5977 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005566/0.3758, allocations: 456.6 kB / 0.5981 GB, free: 12.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.3759, allocations: 35.77 kB / 0.5982 GB, free: 12.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.3759, allocations: 0 / 0.5982 GB, free: 12.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003435/0.3762, allocations: 83.25 kB / 0.5983 GB, free: 12.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.079e-05/0.3763, allocations: 52.56 kB / 0.5983 GB, free: 12.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.3e-05/0.3763, allocations: 105.8 kB / 0.5984 GB, free: 12.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.3763, allocations: 25.7 kB / 0.5984 GB, free: 11.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.684e-05/0.3764, allocations: 88.89 kB / 0.5985 GB, free: 11.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.3764, allocations: 13.73 kB / 0.5985 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.757e-05/0.3764, allocations: 17.66 kB / 0.5986 GB, free: 11.87 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.361e-05/0.3765, allocations: 314.8 kB / 0.5989 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.275e-05/0.3765, allocations: 13.39 kB / 0.5989 GB, free: 11.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.403e-05/0.3766, allocations: 23.97 kB / 0.5989 GB, free: 11.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.3767, allocations: 38.77 kB / 0.5989 GB, free: 11.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3768, allocations: 0 / 0.5989 GB, free: 11.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001784/0.3769, allocations: 78.91 kB / 0.599 GB, free: 11.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.377, allocations: 8 kB / 0.599 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.377, allocations: 1.469 kB / 0.599 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.377, allocations: 0 / 0.599 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.802e-05/0.3771, allocations: 7.984 kB / 0.599 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3771, allocations: 4 kB / 0.599 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.251e-05/0.3771, allocations: 4.688 kB / 0.599 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.3771, allocations: 1.375 kB / 0.599 GB, free: 11.37 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 5.322e-05/0.3772, allocations: 109.8 kB / 0.5991 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.467e-05/0.3772, allocations: 5.562 kB / 0.5991 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.3775, allocations: 77.11 kB / 0.5992 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.3775, allocations: 6.062 kB / 0.5992 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.3775, allocations: 0 / 0.5992 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.3775, allocations: 0 / 0.5992 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.3776, allocations: 161.8 kB / 0.5994 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.3776, allocations: 4 kB / 0.5994 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.191e-05/0.3777, allocations: 9.281 kB / 0.5994 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3777, allocations: 0 / 0.5994 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.3777, allocations: 0 / 0.5994 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3777, allocations: 0.9062 kB / 0.5994 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3777, allocations: 0 / 0.5994 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.3779, allocations: 169.7 kB / 0.5995 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.947e-05/0.3779, allocations: 92.94 kB / 0.5996 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.378, allocations: 1.344 kB / 0.5996 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.191e-05/0.3781, allocations: 4 kB / 0.5996 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.3781, allocations: 7.984 kB / 0.5996 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/0.3781, allocations: 1.5 kB / 0.5996 GB, free: 10.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.422e-05/0.3781, allocations: 83.28 kB / 0.5997 GB, free: 10.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3781, allocations: 0 / 0.5997 GB, free: 10.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002316/0.3784, allocations: 16.56 kB / 0.5997 GB, free: 10.54 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.3785, allocations: 116.7 kB / 0.5999 GB, free: 10.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002075/0.3787, allocations: 33.25 kB / 0.5999 GB, free: 10.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3787, allocations: 4 kB / 0.5999 GB, free: 10.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.771e-05/0.3788, allocations: 24.66 kB / 0.5999 GB, free: 10.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.3791, allocations: 13.38 kB / 0.5999 GB, free: 10.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000253/0.3794, allocations: 143 kB / 0.6001 GB, free: 10.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.3795, allocations: 0.6807 MB / 0.6007 GB, free: 9.477 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.16e-05/0.3795, allocations: 7.438 kB / 0.6007 GB, free: 9.469 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3795, allocations: 0.75 kB / 0.6007 GB, free: 9.469 MB / 446.1 MB Notification: Performance of Templates: time 0.001877/0.3814, allocations: 0.709 MB / 0.6014 GB, free: 8.793 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)