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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, 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.00116/0.00116, 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.657/1.657, allocations: 205.4 MB / 222.1 MB, free: 5.535 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.777/1.777, allocations: 292.5 MB / 0.5497 GB, free: 14.61 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.0005746/0.0005747, allocations: 13.38 kB / 0.6735 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2914, allocations: 116.3 MB / 0.7871 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom): time 0.002373/0.2938, allocations: 1.457 MB / 0.7885 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002231/0.2961, allocations: 1.527 MB / 0.79 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.567e-05/0.2962, allocations: 0 / 0.79 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001974/0.2964, allocations: 19.86 kB / 0.7901 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001256/0.2965, allocations: 27.89 kB / 0.7901 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006118/0.2972, allocations: 187.5 kB / 0.7903 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.2974, allocations: 143.7 kB / 0.7904 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.2976, allocations: 50.16 kB / 0.7904 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.2977, allocations: 63.83 kB / 0.7905 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.2978, allocations: 71.67 kB / 0.7906 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.2979, allocations: 4 kB / 0.7906 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003165/0.2982, allocations: 143.8 kB / 0.7907 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.2983, allocations: 59.88 kB / 0.7908 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.106e-05/0.2984, allocations: 57.58 kB / 0.7908 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003151/0.2987, allocations: 263.4 kB / 0.7911 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.2987, allocations: 0 / 0.7911 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2988, allocations: 0 / 0.7911 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.2988, allocations: 4 kB / 0.7911 GB, free: 7.832 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0009429/0.2997, allocations: 0.5259 MB / 0.7916 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.2998, allocations: 8.031 kB / 0.7916 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.456e-05/0.2998, allocations: 31.67 kB / 0.7916 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.3001, allocations: 231.4 kB / 0.7919 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.546e-05/0.3002, allocations: 19.98 kB / 0.7919 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.535e-05/0.3002, allocations: 20 kB / 0.7919 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003926/0.3006, allocations: 181.4 kB / 0.7921 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.3006, allocations: 3.938 kB / 0.7921 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.3007, allocations: 7.984 kB / 0.7921 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.3007, allocations: 7.953 kB / 0.7921 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002657/0.3009, allocations: 128.5 kB / 0.7922 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.3024, allocations: 0.5704 MB / 0.7928 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007833/0.3032, allocations: 270.7 kB / 0.793 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.3032, allocations: 0 / 0.793 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003395/0.3036, allocations: 163.2 kB / 0.7932 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.713e-06/0.3036, allocations: 0 / 0.7932 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22): time 0.0007215/0.3043, allocations: 434.8 kB / 0.7936 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/0.3044, allocations: 75.52 kB / 0.7937 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.3045, allocations: 179.1 kB / 0.7938 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.3046, allocations: 37.69 kB / 0.7939 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.576e-05/0.3047, allocations: 128.5 kB / 0.794 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.736e-05/0.3047, allocations: 59.17 kB / 0.794 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.523e-05/0.3048, allocations: 8 kB / 0.7941 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.3049, allocations: 338.8 kB / 0.7944 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.3051, allocations: 107.7 kB / 0.7945 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000274/0.3054, allocations: 232.6 kB / 0.7947 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.3056, allocations: 131.9 kB / 0.7948 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3056, allocations: 0 / 0.7948 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005778/0.3062, allocations: 372.8 kB / 0.7952 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.3062, allocations: 8.453 kB / 0.7952 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.3063, allocations: 4 kB / 0.7952 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.411e-05/0.3063, allocations: 12 kB / 0.7952 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.3065, allocations: 59.88 kB / 0.7953 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/0.3065, allocations: 11.92 kB / 0.7953 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.3067, allocations: 39.77 kB / 0.7953 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.3068, allocations: 20 kB / 0.7953 GB, free: 3.184 MB / 0.6075 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 ($PRE.pyt.firstTrigger,pyt.firstTrigger,$PRE.pyt.yR[2],pyt.yR[2],$PRE.pyt.uRIntPre[1],pyt.uRIntPre[1],$PRE.pyt.uRIntPre[2],pyt.uRIntPre[2],$PRE.pyt.uRIntPre[3],pyt.uRIntPre[3],$PRE.pyt.uRIntPre[4],pyt.uRIntPre[4],$PRE.pyt.uRWri[1],pyt.uRWri[1],$PRE.pyt.uRWri[4],pyt.uRWri[4],$whenCondition1,pyt.sampleTrigger,$PRE.pyt.yR[1],pyt.yR[1],$PRE.pyt.uRWri[3],pyt.uRWri[3],$PRE.onOffCon.y,onOffCon.y,$PRE.pyt.uRWri[2],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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001767/0.3069, allocations: 168.2 kB / 0.7955 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.307, allocations: 19.72 kB / 0.7955 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.954e-05/0.307, allocations: 22 kB / 0.7955 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.307, allocations: 7.984 kB / 0.7955 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.3071, allocations: 3.953 kB / 0.7955 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3071, allocations: 4 kB / 0.7956 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009428/0.308, allocations: 0.6272 MB / 0.7962 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.308, allocations: 3.984 kB / 0.7962 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.3081, allocations: 19.94 kB / 0.7962 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.3082, allocations: 11.94 kB / 0.7962 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.3082, allocations: 12 kB / 0.7962 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3082, allocations: 0 / 0.7962 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.3082, allocations: 4 kB / 0.7962 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006914/0.3089, allocations: 487.7 kB / 0.7967 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.759e-05/0.309, allocations: 92.86 kB / 0.7968 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.536e-05/0.309, allocations: 15.98 kB / 0.7968 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.3092, allocations: 27.97 kB / 0.7968 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.833e-05/0.3093, allocations: 19.97 kB / 0.7968 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.3093, allocations: 12 kB / 0.7968 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001099/0.3094, allocations: 132.3 kB / 0.797 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.21e-07/0.3094, allocations: 0 / 0.797 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004928/0.3099, allocations: 107.8 kB / 0.7971 GB, free: 1.309 MB / 0.6075 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 (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 0.0007958/0.3108, allocations: 325.2 kB / 0.7974 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005241/0.3113, allocations: 250.9 kB / 0.7976 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3113, allocations: 0 / 0.7976 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001826/0.3115, allocations: 99.88 kB / 0.7977 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.3117, allocations: 21.77 kB / 0.7977 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008422/0.3126, allocations: 0.5088 MB / 0.7982 GB, free: 164 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.313, allocations: 0.7482 MB / 0.799 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001373/0.3131, allocations: 49.91 kB / 0.799 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.168e-05/0.3132, allocations: 19.44 kB / 0.799 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.3132, allocations: 0 / 0.799 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of Templates: time 0.006471/0.3196, allocations: 2.833 MB / 0.8018 GB, free: 12.48 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: