Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008618/0.0008618, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008885/0.0008886, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.227/1.227, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.551/1.551, allocations: 292.5 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005297/0.0005298, allocations: 21.58 kB / 0.6735 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2007, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresis): time 0.002691/0.2034, allocations: 2.489 MB / 0.7895 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.2047, allocations: 0.8898 MB / 0.7904 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.2049, allocations: 11.94 kB / 0.7904 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.497e-05/0.205, allocations: 27.66 kB / 0.7904 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003232/0.2053, allocations: 111.6 kB / 0.7905 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000341/0.2056, allocations: 168.8 kB / 0.7907 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003607/0.206, allocations: 296.1 kB / 0.791 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002482/0.2063, allocations: 149 kB / 0.7911 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.2064, allocations: 139.2 kB / 0.7913 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.2066, allocations: 131.2 kB / 0.7914 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.015e-05/0.2066, allocations: 8 kB / 0.7914 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.22e-05/0.2067, allocations: 12 kB / 0.7914 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.389e-05/0.2067, allocations: 47.77 kB / 0.7915 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.392e-05/0.2068, allocations: 89.45 kB / 0.7915 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000287/0.2071, allocations: 371.3 kB / 0.7919 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.2071, allocations: 0 / 0.7919 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2071, allocations: 4 kB / 0.7919 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.2071, allocations: 0 / 0.7919 GB, free: 7.008 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0008947/0.208, allocations: 0.6427 MB / 0.7925 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.2081, allocations: 12.03 kB / 0.7925 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.35e-05/0.2081, allocations: 47.44 kB / 0.7926 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004943/0.2086, allocations: 383.3 kB / 0.7929 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.815e-05/0.2087, allocations: 20.66 kB / 0.793 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-05/0.2087, allocations: 31.92 kB / 0.793 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004893/0.2092, allocations: 337.1 kB / 0.7933 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.2093, allocations: 3.984 kB / 0.7933 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/0.2093, allocations: 12 kB / 0.7933 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.2093, allocations: 8 kB / 0.7933 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004244/0.2097, allocations: 218.1 kB / 0.7935 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.2111, allocations: 1.19 MB / 0.7947 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005038/0.2116, allocations: 238.1 kB / 0.7949 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.2117, allocations: 4.188 kB / 0.7949 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.2117, allocations: 46.69 kB / 0.795 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.533e-06/0.2117, allocations: 0 / 0.795 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22): time 0.0005993/0.2123, allocations: 288 kB / 0.7953 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.2124, allocations: 110.8 kB / 0.7954 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.2127, allocations: 341.5 kB / 0.7957 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.2127, allocations: 37.69 kB / 0.7957 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.2129, allocations: 228.2 kB / 0.7959 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.004e-05/0.2129, allocations: 66.92 kB / 0.796 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.262e-05/0.213, allocations: 4 kB / 0.796 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.2131, allocations: 346.8 kB / 0.7963 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.2133, allocations: 79.95 kB / 0.7964 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.2135, allocations: 143.6 kB / 0.7966 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.2137, allocations: 94.86 kB / 0.7966 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.2137, allocations: 0 / 0.7966 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004497/0.2141, allocations: 277 kB / 0.7969 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.2141, allocations: 8.188 kB / 0.7969 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2142, allocations: 4 kB / 0.7969 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.2142, allocations: 4 kB / 0.7969 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.2144, allocations: 51.91 kB / 0.797 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.2144, allocations: 7.984 kB / 0.797 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.2146, allocations: 47.62 kB / 0.797 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.2146, allocations: 8 kB / 0.797 GB, free: 1.445 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000142/0.2148, allocations: 165.8 kB / 0.7972 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.124e-05/0.2148, allocations: 35.62 kB / 0.7972 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.409e-05/0.2149, allocations: 35.36 kB / 0.7973 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.2149, allocations: 0 / 0.7973 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.2149, allocations: 0 / 0.7973 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2149, allocations: 4 kB / 0.7973 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003738/0.2153, allocations: 401.2 kB / 0.7977 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.2153, allocations: 4 kB / 0.7977 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.2156, allocations: 47.91 kB / 0.7977 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.2156, allocations: 4 kB / 0.7977 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.2156, allocations: 7.938 kB / 0.7977 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2156, allocations: 0 / 0.7977 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.2156, allocations: 4 kB / 0.7977 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000626/0.2162, allocations: 430.1 kB / 0.7981 GB, free: 256 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.2164, allocations: 128.7 kB / 0.7982 GB, free: 108 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/0.2164, allocations: 4 kB / 0.7983 GB, free: 104 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.2166, allocations: 19.98 kB / 0.7983 GB, free: 84 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.864e-05/0.2166, allocations: 19.97 kB / 0.7983 GB, free: 64 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.2167, allocations: 7.938 kB / 0.7983 GB, free: 56 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002186/0.2169, allocations: 243.2 kB / 0.7985 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2169, allocations: 0 / 0.7985 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000295/0.2172, allocations: 71.69 kB / 0.7986 GB, free: 15.75 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.194e-05/0.2173, allocations: 107.2 kB / 0.7987 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004096/0.2177, allocations: 208 kB / 0.7989 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2177, allocations: 0 / 0.7989 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.2179, allocations: 103.9 kB / 0.799 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.2183, allocations: 72.53 kB / 0.7991 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.2194, allocations: 0.8333 MB / 0.7999 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.2198, allocations: 0.7992 MB / 0.8007 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001322/0.2199, allocations: 34.97 kB / 0.8007 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.682e-05/0.22, allocations: 31.42 kB / 0.8007 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.22, allocations: 0 / 0.8007 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of Templates: time 0.005701/0.2257, allocations: 2.84 MB / 0.8035 GB, free: 10.7 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1) Environment - environmentSimulation: