Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger") translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001269/0.001269, 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.001489/0.001489, 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.452/1.452, 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 7.0.3-maint.7.0.x/package.mo): time 1.471/1.471, allocations: 251.9 MB / 0.51 GB, free: 4.914 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.0005711/0.0005713, allocations: 12 kB / 0.6241 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7868/0.7873, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003696/0.7911, allocations: 1.877 MB / 0.7298 GB, free: 9.547 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.2029/0.9941, allocations: 128.4 MB / 0.8551 GB, free: 8.859 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004142/0.9946, allocations: 0 / 0.8551 GB, free: 8.859 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0002757/0.9949, allocations: 23.72 kB / 0.8552 GB, free: 8.836 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0006669/0.9955, allocations: 115.7 kB / 0.8553 GB, free: 8.723 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.9967, allocations: 251.4 kB / 0.8555 GB, free: 8.477 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0006099/0.9973, allocations: 268.6 kB / 0.8558 GB, free: 8.215 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002462/0.9976, allocations: 78.11 kB / 0.8558 GB, free: 8.137 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005283/0.9981, allocations: 171.6 kB / 0.856 GB, free: 7.969 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003357/0.9985, allocations: 159.3 kB / 0.8562 GB, free: 7.812 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 4.882e-05/0.9985, allocations: 12 kB / 0.8562 GB, free: 7.801 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000741/0.9993, allocations: 267.6 kB / 0.8564 GB, free: 7.539 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.9994, allocations: 55.73 kB / 0.8565 GB, free: 7.484 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.9995, allocations: 73.58 kB / 0.8566 GB, free: 7.406 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0006703/1, allocations: 337.2 kB / 0.8569 GB, free: 7.078 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1, allocations: 0 / 0.8569 GB, free: 7.078 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.985e-06/1, allocations: 3.938 kB / 0.8569 GB, free: 7.074 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.208e-05/1, allocations: 0 / 0.8569 GB, free: 7.074 MB / 0.67 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.001612/1.002, allocations: 0.6626 MB / 0.8575 GB, free: 6.359 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/1.002, allocations: 8.031 kB / 0.8575 GB, free: 6.352 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002722/1.005, allocations: 255.3 kB / 0.8578 GB, free: 6.102 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005836/1.005, allocations: 287.4 kB / 0.8581 GB, free: 5.781 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.229e-05/1.005, allocations: 20.56 kB / 0.8581 GB, free: 5.762 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.615e-05/1.005, allocations: 32 kB / 0.8581 GB, free: 5.73 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/1.007, allocations: 428.5 kB / 0.8585 GB, free: 5.309 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/1.007, allocations: 0 / 0.8585 GB, free: 5.309 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-05/1.007, allocations: 19.95 kB / 0.8585 GB, free: 5.289 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.601e-05/1.007, allocations: 8 kB / 0.8585 GB, free: 5.281 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002482/1.01, allocations: 0.5368 MB / 0.8591 GB, free: 4.746 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003591/1.013, allocations: 1.147 MB / 0.8602 GB, free: 3.547 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002257/1.016, allocations: 462.4 kB / 0.8606 GB, free: 3.086 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 4.627e-05/1.016, allocations: 4.438 kB / 0.8606 GB, free: 3.082 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/1.016, allocations: 42.48 kB / 0.8607 GB, free: 3.031 MB / 0.67 GB Notification: Performance of pre-optimization done (n=25): time 2.034e-06/1.016, allocations: 0 / 0.8607 GB, free: 3.031 MB / 0.67 GB Notification: Performance of matching and sorting (n=25): time 0.01457/1.03, allocations: 1.706 MB / 0.8623 GB, free: 1.277 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.165e-05/1.03, allocations: 59.34 kB / 0.8624 GB, free: 1.207 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005025/1.031, allocations: 312.5 kB / 0.8627 GB, free: 0.8906 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.682e-05/1.031, allocations: 29.7 kB / 0.8627 GB, free: 0.8555 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/1.031, allocations: 168.2 kB / 0.8629 GB, free: 0.6875 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000139/1.031, allocations: 86.73 kB / 0.863 GB, free: 0.6016 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/1.031, allocations: 8 kB / 0.863 GB, free: 0.5938 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001863/1.032, allocations: 338.8 kB / 0.8633 GB, free: 260 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009952/1.033, allocations: 208.4 kB / 0.8635 GB, free: 52 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/1.034, allocations: 259 kB / 0.8637 GB, free: 15.78 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009973/1.035, allocations: 211.9 kB / 0.8639 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/1.035, allocations: 0 / 0.8639 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006358/1.041, allocations: 0.8971 MB / 0.8648 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.128e-05/1.041, allocations: 10.14 kB / 0.8648 GB, free: 14.65 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/1.041, allocations: 0 / 0.8648 GB, free: 14.65 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001826/1.043, allocations: 277.4 kB / 0.8651 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005487/1.044, allocations: 71.88 kB / 0.8652 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01414/1.058, allocations: 3.864 MB / 0.8689 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000978/1.059, allocations: 79.53 kB / 0.869 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.312e-05/1.059, allocations: 19.97 kB / 0.869 GB, free: 10.07 MB / 0.6856 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002972/1.059, allocations: 145.8 kB / 0.8692 GB, free: 9.922 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/1.059, allocations: 35.52 kB / 0.8692 GB, free: 9.887 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006744/1.066, allocations: 0.9386 MB / 0.8701 GB, free: 8.941 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/1.066, allocations: 8 kB / 0.8701 GB, free: 8.934 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.066, allocations: 0 / 0.8701 GB, free: 8.934 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/1.066, allocations: 0 / 0.8701 GB, free: 8.934 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007304/1.067, allocations: 428.6 kB / 0.8705 GB, free: 8.465 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/1.067, allocations: 0 / 0.8705 GB, free: 8.465 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004343/1.067, allocations: 59.94 kB / 0.8706 GB, free: 8.406 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001753/1.069, allocations: 281.4 kB / 0.8709 GB, free: 8.125 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.755e-05/1.069, allocations: 15.91 kB / 0.8709 GB, free: 8.109 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0138/1.083, allocations: 3.856 MB / 0.8746 GB, free: 3.98 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/1.083, allocations: 3.953 kB / 0.8746 GB, free: 3.977 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006615/1.09, allocations: 0.9573 MB / 0.8756 GB, free: 2.996 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/1.09, allocations: 124.5 kB / 0.8757 GB, free: 2.855 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/1.09, allocations: 4 kB / 0.8757 GB, free: 2.852 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007319/1.091, allocations: 47.95 kB / 0.8757 GB, free: 2.805 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/1.091, allocations: 15.97 kB / 0.8758 GB, free: 2.789 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.493e-05/1.091, allocations: 19.97 kB / 0.8758 GB, free: 2.77 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003146/1.091, allocations: 219.1 kB / 0.876 GB, free: 2.555 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.21e-07/1.091, allocations: 0 / 0.876 GB, free: 2.555 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007865/1.092, allocations: 116 kB / 0.8761 GB, free: 2.441 MB / 0.6856 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002928/1.092, allocations: 123.2 kB / 0.8762 GB, free: 2.312 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002959/1.095, allocations: 0.7273 MB / 0.8769 GB, free: 1.559 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/1.095, allocations: 0 / 0.8769 GB, free: 1.559 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001631/1.097, allocations: 0.5089 MB / 0.8774 GB, free: 1.023 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007335/1.098, allocations: 101.3 kB / 0.8775 GB, free: 0.9258 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00282/1.101, allocations: 0.7574 MB / 0.8783 GB, free: 148 kB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005344/1.101, allocations: 0.7764 MB / 0.879 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0005692/1.102, allocations: 78.88 kB / 0.8791 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/1.102, allocations: 35.36 kB / 0.8791 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of SimCode: time 9.32e-07/1.102, allocations: 3.938 kB / 0.8791 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of Templates: time 0.02536/1.127, allocations: 12.63 MB / 0.8915 GB, free: 2.656 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) Environment - environmentSimulation: