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.001249/0.001249, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001589/0.001589, allocations: 197.8 kB / 16.14 MB, free: 6.688 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.455/1.455, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.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 1.05/1.05, allocations: 143 MB / 433 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.89 kB / 0.5135 GB, free: 12.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1886, allocations: 82.04 MB / 0.5936 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.002658/0.1913, allocations: 1.489 MB / 0.5951 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007684/0.1921, allocations: 427.5 kB / 0.5955 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.644e-05/0.1922, allocations: 0 / 0.5955 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.039e-05/0.1922, allocations: 0 / 0.5955 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.177e-05/0.1923, allocations: 4 kB / 0.5955 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.1926, allocations: 75.78 kB / 0.5955 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.242e-05/0.1927, allocations: 27.92 kB / 0.5956 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.006e-05/0.1928, allocations: 7.984 kB / 0.5956 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.298e-05/0.1929, allocations: 7.938 kB / 0.5956 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.375e-05/0.1929, allocations: 7.984 kB / 0.5956 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.1929, allocations: 7.938 kB / 0.5956 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000356/0.1933, allocations: 283.6 kB / 0.5959 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.126e-05/0.1933, allocations: 0 / 0.5959 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.773e-05/0.1933, allocations: 7.938 kB / 0.5959 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.1936, allocations: 107.8 kB / 0.596 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1936, allocations: 0 / 0.596 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1936, allocations: 0 / 0.596 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.809e-06/0.1936, allocations: 4 kB / 0.596 GB, free: 7.578 MB / 0.4981 GB 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.0005391/0.1941, allocations: 367.6 kB / 0.5963 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.1942, allocations: 12.03 kB / 0.5964 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.376e-05/0.1943, allocations: 4.938 kB / 0.5964 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.1944, allocations: 168.3 kB / 0.5965 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.1944, allocations: 384 / 0.5965 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.1945, allocations: 4.375 kB / 0.5965 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.1947, allocations: 50.23 kB / 0.5966 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1947, allocations: 4.125 kB / 0.5966 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.1947, allocations: 3.938 kB / 0.5966 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.1947, allocations: 4 kB / 0.5966 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/0.1949, allocations: 35.95 kB / 0.5966 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003462/0.1953, allocations: 245 kB / 0.5968 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.1954, allocations: 42.48 kB / 0.5969 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.316e-05/0.1955, allocations: 20.91 kB / 0.5969 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007192/0.1962, allocations: 461.5 kB / 0.5973 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.1963, allocations: 38.5 kB / 0.5974 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.1963, allocations: 8 kB / 0.5974 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003808/0.1967, allocations: 77.64 kB / 0.5975 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.1967, allocations: 55.41 kB / 0.5975 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.849e-05/0.1968, allocations: 101.9 kB / 0.5976 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.1968, allocations: 29.64 kB / 0.5976 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.929e-05/0.1969, allocations: 84.12 kB / 0.5977 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.1969, allocations: 11.97 kB / 0.5977 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.197, allocations: 17.72 kB / 0.5978 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.1971, allocations: 310.8 kB / 0.5981 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.2e-05/0.1972, allocations: 23.97 kB / 0.5981 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.448e-05/0.1973, allocations: 15.92 kB / 0.5981 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.1974, allocations: 44.89 kB / 0.5981 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1974, allocations: 0 / 0.5981 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002192/0.1977, allocations: 73.5 kB / 0.5982 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1977, allocations: 4 kB / 0.5982 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1977, allocations: 0 / 0.5982 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.1977, allocations: 0 / 0.5982 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.29e-05/0.1978, allocations: 11.98 kB / 0.5982 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1978, allocations: 4.031 kB / 0.5982 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.907e-05/0.1979, allocations: 7.984 kB / 0.5982 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.1979, allocations: 7.969 kB / 0.5982 GB, free: 4.957 MB / 0.4981 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 (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 6.965e-05/0.1979, allocations: 117.7 kB / 0.5983 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.688e-05/0.198, allocations: 4 kB / 0.5984 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002378/0.1982, allocations: 69.19 kB / 0.5984 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1982, allocations: 4.031 kB / 0.5984 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1983, allocations: 256 / 0.5984 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1983, allocations: 3.938 kB / 0.5984 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.1984, allocations: 173.6 kB / 0.5986 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1984, allocations: 0 / 0.5986 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.052e-05/0.1985, allocations: 7.984 kB / 0.5986 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.1985, allocations: 0 / 0.5986 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.1985, allocations: 4 kB / 0.5986 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1985, allocations: 0 / 0.5986 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1985, allocations: 0 / 0.5986 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000358/0.1989, allocations: 175.3 kB / 0.5988 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/0.1989, allocations: 77.11 kB / 0.5988 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.199, allocations: 0 / 0.5988 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.55e-05/0.199, allocations: 7.984 kB / 0.5989 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.1991, allocations: 4 kB / 0.5989 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.1991, allocations: 0 / 0.5989 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.709e-05/0.1991, allocations: 91.25 kB / 0.5989 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1991, allocations: 0 / 0.5989 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002271/0.1994, allocations: 15.98 kB / 0.599 GB, free: 4.113 MB / 0.4981 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 (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.0001767/0.1996, allocations: 107.2 kB / 0.5991 GB, free: 4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002052/0.1998, allocations: 39.95 kB / 0.5991 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1998, allocations: 0 / 0.5991 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.542e-05/0.1999, allocations: 27.98 kB / 0.5991 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.2002, allocations: 3.938 kB / 0.5991 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002652/0.2004, allocations: 115.3 kB / 0.5992 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.2007, allocations: 0.677 MB / 0.5999 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.198e-05/0.2007, allocations: 0 / 0.5999 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.033e-05/0.2007, allocations: 15.5 kB / 0.5999 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.2008, allocations: 0 / 0.5999 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of Templates: time 0.002645/0.2034, allocations: 0.6572 MB / 0.6006 GB, free: 2.422 MB / 0.4981 GB 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)