Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.001106/0.001106, allocations: 100.3 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.001021/0.001021, allocations: 177.3 kB / 15.95 MB, free: 216 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.746/1.746, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.609/1.609, allocations: 251.9 MB / 0.51 GB, free: 4.836 MB / 414.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.0006143/0.0006144, allocations: 12 kB / 0.6241 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6779/0.6785, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom): time 0.002252/0.6808, allocations: 1.453 MB / 0.7294 GB, free: 9.957 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002294/0.6832, allocations: 1.534 MB / 0.7309 GB, free: 8.41 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.874e-05/0.6833, allocations: 0 / 0.7309 GB, free: 8.41 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001948/0.6835, allocations: 35.77 kB / 0.7309 GB, free: 8.375 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001145/0.6836, allocations: 15.92 kB / 0.7309 GB, free: 8.359 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005524/0.6841, allocations: 187.5 kB / 0.7311 GB, free: 8.176 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002344/0.6844, allocations: 151.6 kB / 0.7313 GB, free: 8.027 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.6846, allocations: 47.86 kB / 0.7313 GB, free: 7.98 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.6847, allocations: 75.75 kB / 0.7314 GB, free: 7.906 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.6848, allocations: 63.69 kB / 0.7314 GB, free: 7.844 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.6849, allocations: 4 kB / 0.7314 GB, free: 7.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003624/0.6852, allocations: 139.8 kB / 0.7316 GB, free: 7.703 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.172e-05/0.6853, allocations: 63.8 kB / 0.7316 GB, free: 7.641 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.743e-05/0.6854, allocations: 53.58 kB / 0.7317 GB, free: 7.582 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004046/0.6858, allocations: 263.5 kB / 0.7319 GB, free: 7.324 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.6858, allocations: 0 / 0.7319 GB, free: 7.324 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6858, allocations: 0 / 0.7319 GB, free: 7.324 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.6858, allocations: 4 kB / 0.7319 GB, free: 7.32 MB / 0.545 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.000947/0.6868, allocations: 0.5298 MB / 0.7325 GB, free: 6.742 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.6868, allocations: 8.031 kB / 0.7325 GB, free: 6.734 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.445e-05/0.6869, allocations: 19.81 kB / 0.7325 GB, free: 6.715 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.6872, allocations: 236.8 kB / 0.7327 GB, free: 6.445 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.6872, allocations: 15.94 kB / 0.7327 GB, free: 6.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.02e-05/0.6873, allocations: 23.98 kB / 0.7328 GB, free: 6.406 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003512/0.6876, allocations: 189.4 kB / 0.7329 GB, free: 6.215 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.6876, allocations: 0 / 0.7329 GB, free: 6.215 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.6877, allocations: 11.95 kB / 0.7329 GB, free: 6.203 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.6877, allocations: 4 kB / 0.733 GB, free: 6.199 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002679/0.688, allocations: 127.8 kB / 0.7331 GB, free: 6.074 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.6892, allocations: 0.578 MB / 0.7336 GB, free: 5.445 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007487/0.69, allocations: 270.7 kB / 0.7339 GB, free: 5.172 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.69, allocations: 8 kB / 0.7339 GB, free: 5.164 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002983/0.6903, allocations: 155.6 kB / 0.7341 GB, free: 5.004 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.643e-06/0.6903, allocations: 0 / 0.7341 GB, free: 5.004 MB / 0.545 GB Notification: Performance of matching and sorting (n=22): time 0.0007209/0.6911, allocations: 447.7 kB / 0.7345 GB, free: 4.543 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.58e-05/0.6911, allocations: 63.34 kB / 0.7345 GB, free: 4.469 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.6913, allocations: 176 kB / 0.7347 GB, free: 4.285 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.194e-05/0.6913, allocations: 41.7 kB / 0.7347 GB, free: 4.238 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.511e-05/0.6914, allocations: 120.5 kB / 0.7349 GB, free: 4.117 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.185e-05/0.6915, allocations: 71.17 kB / 0.7349 GB, free: 4.047 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.246e-05/0.6915, allocations: 12 kB / 0.7349 GB, free: 4.035 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.6917, allocations: 334.8 kB / 0.7353 GB, free: 3.699 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.6919, allocations: 103.9 kB / 0.7354 GB, free: 3.598 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002737/0.6921, allocations: 224 kB / 0.7356 GB, free: 3.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/0.6924, allocations: 135.9 kB / 0.7357 GB, free: 3.188 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.6924, allocations: 4 kB / 0.7357 GB, free: 3.184 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005731/0.693, allocations: 369.1 kB / 0.7361 GB, free: 2.816 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.693, allocations: 8 kB / 0.7361 GB, free: 2.809 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.693, allocations: 4 kB / 0.7361 GB, free: 2.805 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.693, allocations: 11.95 kB / 0.7361 GB, free: 2.793 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.6932, allocations: 55.91 kB / 0.7361 GB, free: 2.738 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.6932, allocations: 7.938 kB / 0.7361 GB, free: 2.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.6934, allocations: 55.81 kB / 0.7362 GB, free: 2.676 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.6934, allocations: 16 kB / 0.7362 GB, free: 2.66 MB / 0.545 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.0001778/0.6936, allocations: 171.6 kB / 0.7364 GB, free: 2.484 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.6937, allocations: 15.81 kB / 0.7364 GB, free: 2.469 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.6937, allocations: 17.88 kB / 0.7364 GB, free: 2.449 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.6937, allocations: 7.953 kB / 0.7364 GB, free: 2.441 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.6937, allocations: 3.938 kB / 0.7364 GB, free: 2.438 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.6937, allocations: 3.984 kB / 0.7364 GB, free: 2.434 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009068/0.6947, allocations: 0.6446 MB / 0.7371 GB, free: 1.734 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.6947, allocations: 0 / 0.7371 GB, free: 1.734 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.6948, allocations: 23.94 kB / 0.7371 GB, free: 1.711 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.6948, allocations: 0 / 0.7371 GB, free: 1.711 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/0.6948, allocations: 7.984 kB / 0.7371 GB, free: 1.703 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.6948, allocations: 4 kB / 0.7371 GB, free: 1.699 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.6949, allocations: 3.938 kB / 0.7371 GB, free: 1.695 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006537/0.6955, allocations: 480.6 kB / 0.7375 GB, free: 1.211 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.339e-05/0.6956, allocations: 104.8 kB / 0.7376 GB, free: 1.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.935e-05/0.6956, allocations: 15.94 kB / 0.7377 GB, free: 1.074 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.6958, allocations: 27.98 kB / 0.7377 GB, free: 1.047 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.374e-05/0.6959, allocations: 15.97 kB / 0.7377 GB, free: 1.031 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-05/0.6959, allocations: 15.98 kB / 0.7377 GB, free: 1.016 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.829e-05/0.696, allocations: 123.5 kB / 0.7378 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.696, allocations: 0 / 0.7378 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004184/0.6964, allocations: 99.97 kB / 0.7379 GB, free: 0.7969 MB / 0.545 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.0006744/0.6971, allocations: 325 kB / 0.7382 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004605/0.6976, allocations: 255.6 kB / 0.7385 GB, free: 292 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.6976, allocations: 0 / 0.7385 GB, free: 292 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.6978, allocations: 96.83 kB / 0.7386 GB, free: 196 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.698, allocations: 26.05 kB / 0.7386 GB, free: 172 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008482/0.6988, allocations: 0.5195 MB / 0.7391 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.6992, allocations: 0.7443 MB / 0.7398 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001266/0.6993, allocations: 49.91 kB / 0.7399 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.365e-05/0.6994, allocations: 19.44 kB / 0.7399 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.6994, allocations: 0 / 0.7399 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of Templates: time 0.006007/0.7054, allocations: 2.824 MB / 0.7427 GB, free: 11.96 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.sim & ./Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe 2>&1) Environment - environmentSimulation: