Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.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.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001564/0.001564, allocations: 193.7 kB / 16.25 MB, free: 6.621 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.396/1.396, allocations: 222.9 MB / 239.9 MB, free: 4.559 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.051/1.051, allocations: 143 MB / 433.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 68.09 kB / 0.5137 GB, free: 12.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1957, allocations: 82.03 MB / 0.5938 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.003119/0.1988, allocations: 1.875 MB / 0.5956 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009145/0.1998, allocations: 0.53 MB / 0.5961 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.515e-05/0.1999, allocations: 0 / 0.5961 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001417/0.2, allocations: 19.8 kB / 0.5961 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.684e-05/0.2001, allocations: 15.81 kB / 0.5962 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.2004, allocations: 67.92 kB / 0.5962 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000218/0.2006, allocations: 171.4 kB / 0.5964 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.2007, allocations: 45.66 kB / 0.5964 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.966e-05/0.2008, allocations: 59.77 kB / 0.5965 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.361e-05/0.2009, allocations: 59.58 kB / 0.5965 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.61e-05/0.201, allocations: 12 kB / 0.5966 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.051e-05/0.201, allocations: 8 kB / 0.5966 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.17e-05/0.201, allocations: 27.92 kB / 0.5966 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.142e-05/0.2011, allocations: 63.61 kB / 0.5967 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.2013, allocations: 135.7 kB / 0.5968 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2013, allocations: 0 / 0.5968 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2013, allocations: 0 / 0.5968 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.2013, allocations: 0 / 0.5968 GB, free: 6.895 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007039/0.202, allocations: 480.9 kB / 0.5972 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.202, allocations: 8.031 kB / 0.5972 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.869e-05/0.2021, allocations: 16.75 kB / 0.5973 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.2024, allocations: 231.9 kB / 0.5975 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.2024, allocations: 8.375 kB / 0.5975 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.344e-05/0.2024, allocations: 12.38 kB / 0.5975 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002974/0.2027, allocations: 155.2 kB / 0.5977 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.2028, allocations: 3.938 kB / 0.5977 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.2028, allocations: 4 kB / 0.5977 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.964e-06/0.2028, allocations: 4 kB / 0.5977 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002211/0.203, allocations: 71.88 kB / 0.5977 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008887/0.2039, allocations: 0.7431 MB / 0.5985 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.2041, allocations: 42.56 kB / 0.5985 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.2042, allocations: 36.83 kB / 0.5985 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.2042, allocations: 7.875 kB / 0.5985 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002728/0.2045, allocations: 134.6 kB / 0.5987 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.432e-06/0.2045, allocations: 0 / 0.5987 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0004913/0.205, allocations: 169.5 kB / 0.5988 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.849e-05/0.2051, allocations: 132.8 kB / 0.599 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.2053, allocations: 207.6 kB / 0.5992 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.2053, allocations: 25.7 kB / 0.5992 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.792e-05/0.2054, allocations: 132 kB / 0.5993 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.831e-05/0.2054, allocations: 39.45 kB / 0.5993 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.543e-05/0.2055, allocations: 37.7 kB / 0.5994 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.2056, allocations: 326.8 kB / 0.5997 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.2057, allocations: 40.03 kB / 0.5997 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.2059, allocations: 154.4 kB / 0.5999 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002962/0.2062, allocations: 202.4 kB / 0.6001 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.2062, allocations: 0 / 0.6001 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003917/0.2066, allocations: 201.4 kB / 0.6003 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.2067, allocations: 11.98 kB / 0.6003 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.2067, allocations: 4 kB / 0.6003 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.2067, allocations: 4 kB / 0.6003 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.2068, allocations: 35.92 kB / 0.6003 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.2068, allocations: 11.98 kB / 0.6003 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.207, allocations: 23.83 kB / 0.6003 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.207, allocations: 20.12 kB / 0.6004 GB, free: 2.832 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 0.0001031/0.2071, allocations: 131.8 kB / 0.6005 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.2071, allocations: 15.81 kB / 0.6005 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.125e-05/0.2072, allocations: 25.39 kB / 0.6005 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2072, allocations: 3.938 kB / 0.6005 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.2072, allocations: 4 kB / 0.6005 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2072, allocations: 3.938 kB / 0.6005 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007281/0.208, allocations: 0.517 MB / 0.601 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.208, allocations: 4 kB / 0.6011 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.2081, allocations: 11.98 kB / 0.6011 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.2081, allocations: 4 kB / 0.6011 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.2081, allocations: 4 kB / 0.6011 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2081, allocations: 4 kB / 0.6011 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/0.2082, allocations: 7.875 kB / 0.6011 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004724/0.2086, allocations: 352.2 kB / 0.6014 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-05/0.2087, allocations: 92.92 kB / 0.6015 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.2087, allocations: 12.03 kB / 0.6015 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.2089, allocations: 11.98 kB / 0.6015 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.351e-05/0.209, allocations: 19.86 kB / 0.6016 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.209, allocations: 4.062 kB / 0.6016 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001122/0.2091, allocations: 144.5 kB / 0.6017 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2091, allocations: 3.938 kB / 0.6017 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003293/0.2094, allocations: 28 kB / 0.6017 GB, free: 1.332 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001425/0.2096, allocations: 115.5 kB / 0.6018 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003325/0.2099, allocations: 115.8 kB / 0.6019 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2099, allocations: 1 kB / 0.6019 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.2101, allocations: 52.12 kB / 0.602 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005902/0.2107, allocations: 66.02 kB / 0.6021 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006459/0.2114, allocations: 392.4 kB / 0.6024 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2402/0.4515, allocations: 0.7203 MB / 0.6031 GB, free: 43.47 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001514/0.4517, allocations: 18.03 kB / 0.6032 GB, free: 43.47 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.768e-05/0.4518, allocations: 18.66 kB / 0.6032 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of SimCode: time 8.22e-07/0.4518, allocations: 0.5938 kB / 0.6032 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of Templates: time 0.004488/0.4563, allocations: 1.919 MB / 0.605 GB, free: 43.43 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)