Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom") translateModel(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.619/1.619, allocations: 292.3 MB / 308.1 MB, free: 4.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001381/0.001381, allocations: 189.8 kB / 376.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 205.1 MB / 0.6354 GB, free: 9.801 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009451/0.0009448, allocations: 102.8 kB / 0.748 GB, free: 61.08 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009469/0.0009469, allocations: 59.91 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2078, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom): time 0.002905/0.2107, allocations: 1.845 MB / 0.984 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00212/0.2128, allocations: 1.62 MB / 0.9856 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.929e-05/0.2129, allocations: 3.938 kB / 0.9856 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.2131, allocations: 23.86 kB / 0.9856 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.975e-05/0.2132, allocations: 11.88 kB / 0.9856 GB, free: 6.852 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Obsolete/Utilities/IO/Python27/Functions/exchange.mo:2:1-109:13:writable] Warning: Pure function ‘Buildings.Obsolete.Utilities.IO.Python27.Functions.exchange‘ contains a call to impure function ‘Modelica.Utilities.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.000488/0.2137, allocations: 199.5 kB / 0.9858 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.2139, allocations: 199.6 kB / 0.986 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.2141, allocations: 58.12 kB / 0.9861 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.2142, allocations: 91.67 kB / 0.9862 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.2143, allocations: 67.69 kB / 0.9862 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.2144, allocations: 15.92 kB / 0.9863 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002896/0.2147, allocations: 179.7 kB / 0.9864 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.847e-05/0.2148, allocations: 71.8 kB / 0.9865 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.243e-05/0.2149, allocations: 71.55 kB / 0.9866 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003402/0.2152, allocations: 355.1 kB / 0.9869 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.2152, allocations: 0 / 0.9869 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.81e-07/0.2152, allocations: 0 / 0.9869 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.2152, allocations: 8 kB / 0.9869 GB, free: 5.559 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008294/0.2161, allocations: 0.5533 MB / 0.9874 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.2161, allocations: 12.03 kB / 0.9875 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.444e-05/0.2162, allocations: 24.66 kB / 0.9875 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.2164, allocations: 236.7 kB / 0.9877 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.2164, allocations: 12.38 kB / 0.9877 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.061e-05/0.2164, allocations: 31.92 kB / 0.9878 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.2168, allocations: 177.4 kB / 0.9879 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.2168, allocations: 0 / 0.9879 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.2168, allocations: 11.98 kB / 0.9879 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.2168, allocations: 4 kB / 0.9879 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002311/0.217, allocations: 115.9 kB / 0.988 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.2182, allocations: 0.5586 MB / 0.9886 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007421/0.2189, allocations: 242.7 kB / 0.9888 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.2191, allocations: 88.75 kB / 0.9889 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.2191, allocations: 11.92 kB / 0.9889 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002888/0.2194, allocations: 151.3 kB / 0.9891 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=22): time 1.533e-06/0.2194, allocations: 4 kB / 0.9891 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22): time 0.0005911/0.22, allocations: 348 kB / 0.9894 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.2201, allocations: 63.33 kB / 0.9895 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.2202, allocations: 178.6 kB / 0.9896 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.2202, allocations: 45.64 kB / 0.9897 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.281e-05/0.2203, allocations: 124.5 kB / 0.9898 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.139e-05/0.2204, allocations: 71.11 kB / 0.9899 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.613e-05/0.2204, allocations: 69.69 kB / 0.9899 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.2206, allocations: 338.8 kB / 0.9902 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.2207, allocations: 95.94 kB / 0.9903 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.221, allocations: 228.7 kB / 0.9906 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003918/0.2214, allocations: 335.9 kB / 0.9909 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2214, allocations: 0 / 0.9909 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005054/0.2219, allocations: 368.8 kB / 0.9912 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.2219, allocations: 4 kB / 0.9912 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.2219, allocations: 8.469 kB / 0.9912 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.2219, allocations: 8 kB / 0.9912 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.2221, allocations: 55.91 kB / 0.9913 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.2221, allocations: 15.88 kB / 0.9913 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.2223, allocations: 35.73 kB / 0.9914 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.2224, allocations: 16 kB / 0.9914 GB, free: 0.6445 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 26 (pyt.firstTrigger,$PRE.pyt.firstTrigger,pyt.yR[2],$PRE.pyt.yR[2],pyt.uRIntPre[1],$PRE.pyt.uRIntPre[1],pyt.uRIntPre[2],$PRE.pyt.uRIntPre[2],pyt.uRIntPre[3],$PRE.pyt.uRIntPre[3],pyt.uRIntPre[4],$PRE.pyt.uRIntPre[4],pyt.uRWri[1],$PRE.pyt.uRWri[1],pyt.uRWri[4],$PRE.pyt.uRWri[4],pyt.sampleTrigger,$whenCondition1,onOffCon.y,$PRE.onOffCon.y,pyt.uRWri[3],$PRE.pyt.uRWri[3],pyt.yR[1],$PRE.pyt.yR[1],pyt.uRWri[2],$PRE.pyt.uRWri[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * 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.0001409/0.2225, allocations: 171.4 kB / 0.9915 GB, free: 480 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.2225, allocations: 15.81 kB / 0.9915 GB, free: 464 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.221e-05/0.2226, allocations: 21.86 kB / 0.9916 GB, free: 444 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.2226, allocations: 0 / 0.9916 GB, free: 444 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.2226, allocations: 7.938 kB / 0.9916 GB, free: 436 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2226, allocations: 0 / 0.9916 GB, free: 436 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008224/0.2234, allocations: 0.6387 MB / 0.9922 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2235, allocations: 0 / 0.9922 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.2236, allocations: 19.98 kB / 0.9922 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.2236, allocations: 3.938 kB / 0.9922 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.2236, allocations: 15.92 kB / 0.9922 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2236, allocations: 0 / 0.9922 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2236, allocations: 0 / 0.9922 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.225, allocations: 1.518 MB / 0.9937 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.486e-05/0.225, allocations: 96.86 kB / 0.9938 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.2251, allocations: 12.03 kB / 0.9938 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.2252, allocations: 23.98 kB / 0.9938 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.824e-05/0.2253, allocations: 19.91 kB / 0.9939 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.2253, allocations: 12 kB / 0.9939 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.184e-05/0.2254, allocations: 132.3 kB / 0.994 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.2254, allocations: 0 / 0.994 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004546/0.2259, allocations: 103.9 kB / 0.9941 GB, free: 13.62 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (pyt.uRInt[1],pyt.uRInt[2],pyt.uRInt[3],pyt.uRInt[4]) * Number of discrete variables: 14 (pyt.sampleTrigger,$whenCondition1,pyt.firstTrigger,pyt.yR[1],pyt.yR[2],pyt.uRIntPre[1],pyt.uRIntPre[2],pyt.uRIntPre[3],pyt.uRIntPre[4],pyt.uRWri[1],pyt.uRWri[2],pyt.uRWri[3],pyt.uRWri[4],onOffCon.y) * Number of discrete states: 5 (pyt.uR[1],pyt.uR[2],pyt.uR[3],pyt.uR[4],onOffCon.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0006101/0.2265, allocations: 324.7 kB / 0.9944 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004114/0.2269, allocations: 247.9 kB / 0.9946 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2269, allocations: 0 / 0.9946 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.2271, allocations: 95.88 kB / 0.9947 GB, free: 13 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.2274, allocations: 35.38 kB / 0.9948 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008899/0.2283, allocations: 0.6884 MB / 0.9954 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.2286, allocations: 0.7443 MB / 0.9962 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001264/0.2287, allocations: 49.91 kB / 0.9962 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.392e-05/0.2287, allocations: 23.42 kB / 0.9962 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/0.2288, allocations: 0 / 0.9962 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of Templates: time 0.005538/0.2343, allocations: 3.063 MB / 0.9992 GB, free: 8.344 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.makefile (rm -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe >> ../files/Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.sim & ./Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe 2>&1)