Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.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.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001147, allocations: 105 kB / 16.41 MB, free: 6.492 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.001139/0.001139, allocations: 191 kB / 17.34 MB, free: 5.762 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.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.17 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.8206/0.8206, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 61.73 kB / 0.5962 GB, free: 12.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1645, allocations: 82.03 MB / 0.6763 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.005757/0.1703, allocations: 4.113 MB / 0.6803 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002836/0.1731, allocations: 1.329 MB / 0.6816 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007021/0.1738, allocations: 19.94 kB / 0.6816 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004777/0.1743, allocations: 126.7 kB / 0.6817 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0006561/0.175, allocations: 178.4 kB / 0.6819 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.1761, allocations: 421.9 kB / 0.6823 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001199/0.1773, allocations: 0.9592 MB / 0.6832 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007485/0.178, allocations: 458.1 kB / 0.6837 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004845/0.1785, allocations: 330.7 kB / 0.684 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000352/0.1789, allocations: 342.3 kB / 0.6843 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.179, allocations: 92 kB / 0.6844 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.68e-05/0.1791, allocations: 88 kB / 0.6845 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.1793, allocations: 175.5 kB / 0.6846 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003169/0.1796, allocations: 394 kB / 0.685 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009192/0.1805, allocations: 1.117 MB / 0.6861 GB, free: 368 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.1805, allocations: 0 / 0.6861 GB, free: 368 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1805, allocations: 3.938 kB / 0.6861 GB, free: 364 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.1806, allocations: 4 kB / 0.6861 GB, free: 360 kB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001637/0.1822, allocations: 1.073 MB / 0.6872 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.1822, allocations: 8.031 kB / 0.6872 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.1824, allocations: 87.91 kB / 0.6873 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008425/0.1832, allocations: 0.565 MB / 0.6878 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.789e-05/0.1833, allocations: 45.69 kB / 0.6879 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.683e-05/0.1834, allocations: 56.38 kB / 0.6879 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009643/0.1843, allocations: 0.6118 MB / 0.6885 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.1844, allocations: 3.938 kB / 0.6885 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.327e-05/0.1844, allocations: 24 kB / 0.6885 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.1844, allocations: 16 kB / 0.6885 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008969/0.1854, allocations: 453 kB / 0.689 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002593/0.188, allocations: 1.993 MB / 0.6909 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008232/0.1888, allocations: 442.8 kB / 0.6914 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004054/0.1892, allocations: 242.1 kB / 0.6916 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-05/0.1893, allocations: 12.38 kB / 0.6916 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004686/0.1897, allocations: 269.2 kB / 0.6918 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=49): time 1.924e-06/0.1897, allocations: 0 / 0.6918 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=49): time 0.001187/0.1909, allocations: 0.5768 MB / 0.6924 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.191, allocations: 59.83 kB / 0.6925 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004531/0.1914, allocations: 449.9 kB / 0.6929 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/0.1915, allocations: 37.7 kB / 0.6929 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/0.1917, allocations: 328.2 kB / 0.6932 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.1918, allocations: 165.6 kB / 0.6934 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.192, allocations: 90.25 kB / 0.6935 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.1921, allocations: 366.8 kB / 0.6938 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003588/0.1925, allocations: 169 kB / 0.694 GB, free: 8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003878/0.1929, allocations: 249.8 kB / 0.6942 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007404/0.1936, allocations: 452 kB / 0.6947 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.1936, allocations: 4 kB / 0.6947 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009441/0.1946, allocations: 0.5585 MB / 0.6952 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.142e-05/0.1946, allocations: 37.64 kB / 0.6953 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.1947, allocations: 4.25 kB / 0.6953 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.1947, allocations: 8 kB / 0.6953 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004726/0.1952, allocations: 111.8 kB / 0.6954 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.1952, allocations: 4 kB / 0.6954 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000295/0.1955, allocations: 63.5 kB / 0.6954 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/0.1955, allocations: 16 kB / 0.6955 GB, free: 6.434 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0002271/0.1957, allocations: 212 kB / 0.6957 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.515e-05/0.1958, allocations: 63.19 kB / 0.6957 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.1959, allocations: 65.58 kB / 0.6958 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.196, allocations: 8 kB / 0.6958 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.196, allocations: 0 / 0.6958 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.196, allocations: 0 / 0.6958 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001591/0.1976, allocations: 1.178 MB / 0.6969 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1976, allocations: 4 kB / 0.6969 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004388/0.198, allocations: 91.89 kB / 0.697 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.198, allocations: 4 kB / 0.697 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-05/0.1981, allocations: 11.98 kB / 0.697 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.1981, allocations: 4 kB / 0.697 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1981, allocations: 0 / 0.697 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.1993, allocations: 0.7612 MB / 0.6978 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.1995, allocations: 172.3 kB / 0.698 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.338e-05/0.1996, allocations: 11.94 kB / 0.698 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002784/0.1999, allocations: 27.97 kB / 0.698 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.972e-05/0.2, allocations: 36.33 kB / 0.698 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/0.2, allocations: 12 kB / 0.698 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003027/0.2003, allocations: 314.9 kB / 0.6983 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2003, allocations: 0 / 0.6983 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004293/0.2007, allocations: 147.4 kB / 0.6985 GB, free: 3.234 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.2009, allocations: 115.2 kB / 0.6986 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008371/0.2017, allocations: 481.2 kB / 0.6991 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.2017, allocations: 4 kB / 0.6991 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003846/0.2021, allocations: 210.4 kB / 0.6993 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007314/0.2029, allocations: 164.2 kB / 0.6994 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002424/0.2053, allocations: 1.366 MB / 0.7007 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/0.2057, allocations: 0.8899 MB / 0.7016 GB, free: 15.96 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.2059, allocations: 43.44 kB / 0.7017 GB, free: 15.91 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.2059, allocations: 0 / 0.7017 GB, free: 15.91 MB / 0.545 GB Notification: Performance of Templates: time 0.009506/0.2154, allocations: 7.752 MB / 0.7092 GB, free: 8.195 MB / 0.545 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)