Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.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.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger") translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 112.2 kB / 16.37 MB, free: 6 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.001268/0.001268, allocations: 191.9 kB / 17.31 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.613/1.613, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.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.847/1.847, allocations: 292.3 MB / 0.5496 GB, free: 17.43 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.001476/0.001476, allocations: 64.33 kB / 0.6729 GB, free: 5.891 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2635, allocations: 114.6 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003802/0.2673, allocations: 2.304 MB / 0.787 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.7379/1.005, allocations: 152 MB / 0.9355 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000465/1.006, allocations: 7.938 kB / 0.9355 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003658/1.006, allocations: 43.47 kB / 0.9355 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00077/1.007, allocations: 107.1 kB / 0.9356 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001254/1.008, allocations: 307.7 kB / 0.9359 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000805/1.009, allocations: 423.8 kB / 0.9363 GB, free: 15 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003103/1.009, allocations: 107.1 kB / 0.9364 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00172/1.011, allocations: 279.5 kB / 0.9367 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003993/1.012, allocations: 191.2 kB / 0.9369 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.277e-05/1.012, allocations: 32 kB / 0.9369 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007639/1.012, allocations: 271.6 kB / 0.9372 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001207/1.013, allocations: 79.72 kB / 0.9372 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002192/1.013, allocations: 167.2 kB / 0.9374 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009731/1.014, allocations: 494.2 kB / 0.9379 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/1.014, allocations: 0 / 0.9379 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.472e-06/1.014, allocations: 0 / 0.9379 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.337e-05/1.014, allocations: 0 / 0.9379 GB, free: 13.45 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001816/1.016, allocations: 0.7084 MB / 0.9386 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/1.016, allocations: 8.031 kB / 0.9386 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002872/1.019, allocations: 263.5 kB / 0.9388 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005497/1.019, allocations: 303.2 kB / 0.9391 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.669e-05/1.019, allocations: 24.56 kB / 0.9391 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.272e-05/1.019, allocations: 24 kB / 0.9392 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/1.021, allocations: 433.5 kB / 0.9396 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/1.021, allocations: 0 / 0.9396 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.825e-05/1.021, allocations: 13.69 kB / 0.9396 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/1.021, allocations: 7.938 kB / 0.9396 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002315/1.023, allocations: 0.5252 MB / 0.9401 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003363/1.027, allocations: 1.121 MB / 0.9412 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002362/1.029, allocations: 466.8 kB / 0.9417 GB, free: 9.441 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/1.03, allocations: 230.5 kB / 0.9419 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.797e-05/1.03, allocations: 4.391 kB / 0.9419 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/1.03, allocations: 38.56 kB / 0.9419 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 2.265e-06/1.03, allocations: 4 kB / 0.9419 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=25): time 0.01572/1.046, allocations: 1.72 MB / 0.9436 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/1.046, allocations: 55.41 kB / 0.9436 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004102/1.046, allocations: 308.5 kB / 0.9439 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.108e-05/1.046, allocations: 33.7 kB / 0.944 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/1.047, allocations: 168.2 kB / 0.9441 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/1.047, allocations: 90.73 kB / 0.9442 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001864/1.047, allocations: 69.92 kB / 0.9443 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001873/1.047, allocations: 350.7 kB / 0.9446 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/1.048, allocations: 200.3 kB / 0.9448 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/1.049, allocations: 265.2 kB / 0.9451 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00212/1.051, allocations: 424.5 kB / 0.9455 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/1.052, allocations: 3.938 kB / 0.9455 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007277/1.059, allocations: 0.8971 MB / 0.9464 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/1.059, allocations: 4 kB / 0.9464 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/1.059, allocations: 0 / 0.9464 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002019/1.061, allocations: 285.4 kB / 0.9466 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005468/1.061, allocations: 67.88 kB / 0.9467 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01523/1.077, allocations: 4.092 MB / 0.9507 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/1.078, allocations: 71.67 kB / 0.9508 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.632e-05/1.078, allocations: 22.53 kB / 0.9508 GB, free: 15.66 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002458/1.078, allocations: 137.8 kB / 0.9509 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.827e-05/1.078, allocations: 31.62 kB / 0.9509 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007225/1.085, allocations: 0.9495 MB / 0.9519 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/1.085, allocations: 8 kB / 0.9519 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/1.085, allocations: 0 / 0.9519 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/1.085, allocations: 3.984 kB / 0.9519 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006433/1.086, allocations: 441 kB / 0.9523 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/1.086, allocations: 0 / 0.9523 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004046/1.087, allocations: 51.95 kB / 0.9523 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001861/1.088, allocations: 277.4 kB / 0.9526 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-05/1.088, allocations: 15.97 kB / 0.9526 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01546/1.104, allocations: 4.082 MB / 0.9566 GB, free: 9.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.104, allocations: 0 / 0.9566 GB, free: 9.34 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007256/1.111, allocations: 0.9513 MB / 0.9575 GB, free: 8.367 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002174/1.112, allocations: 116.7 kB / 0.9577 GB, free: 8.234 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.477e-05/1.112, allocations: 11.94 kB / 0.9577 GB, free: 8.223 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007203/1.112, allocations: 47.94 kB / 0.9577 GB, free: 8.176 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/1.112, allocations: 19.97 kB / 0.9577 GB, free: 8.156 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.757e-05/1.113, allocations: 19.91 kB / 0.9578 GB, free: 8.137 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003759/1.113, allocations: 228.1 kB / 0.958 GB, free: 7.914 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/1.113, allocations: 0 / 0.958 GB, free: 7.914 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006603/1.114, allocations: 108 kB / 0.9581 GB, free: 7.809 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004127/1.114, allocations: 131.2 kB / 0.9582 GB, free: 7.672 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003007/1.117, allocations: 0.7207 MB / 0.9589 GB, free: 6.926 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/1.117, allocations: 0 / 0.9589 GB, free: 6.926 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001671/1.119, allocations: 0.5025 MB / 0.9594 GB, free: 6.398 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000664/1.119, allocations: 111.1 kB / 0.9595 GB, free: 6.309 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002732/1.122, allocations: 0.7128 MB / 0.9602 GB, free: 5.566 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/1.123, allocations: 0.7723 MB / 0.9609 GB, free: 4.77 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/1.123, allocations: 31.42 kB / 0.961 GB, free: 4.738 MB / 0.7481 GB Notification: Performance of SimCode: time 1.172e-06/1.123, allocations: 0 / 0.961 GB, free: 4.738 MB / 0.7481 GB Notification: Performance of Templates: time 0.01201/1.135, allocations: 8.306 MB / 0.9691 GB, free: 12.51 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.makefile (rm -f Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1)