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.0008018/0.0008019, allocations: 91.45 kB / 15.06 MB, free: 1.098 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.0008286/0.0008288, allocations: 172.7 kB / 15.95 MB, free: 208 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.406/1.406, allocations: 205.4 MB / 222.1 MB, free: 5.5 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.719/1.719, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005567/0.0005567, allocations: 11.44 kB / 0.6737 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3115, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002629/0.3142, allocations: 1.929 MB / 0.7892 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.7903/1.104, allocations: 138.1 MB / 0.924 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002714/1.105, allocations: 5.656 kB / 0.924 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002081/1.105, allocations: 35.73 kB / 0.9241 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003763/1.105, allocations: 81.33 kB / 0.9241 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009625/1.106, allocations: 248.6 kB / 0.9244 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003918/1.107, allocations: 371.2 kB / 0.9247 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/1.107, allocations: 87.55 kB / 0.9248 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004208/1.107, allocations: 200.2 kB / 0.925 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/1.108, allocations: 155 kB / 0.9252 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.699e-05/1.108, allocations: 10.75 kB / 0.9252 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005332/1.108, allocations: 257.6 kB / 0.9254 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.796e-05/1.108, allocations: 56.95 kB / 0.9255 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004033/1.109, allocations: 76.61 kB / 0.9255 GB, free: 21.56 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004947/1.109, allocations: 334.2 kB / 0.9259 GB, free: 21.53 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.109, allocations: 6.344 kB / 0.9259 GB, free: 21.53 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.012e-06/1.109, allocations: 0 / 0.9259 GB, free: 21.53 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.8e-06/1.109, allocations: 0 / 0.9259 GB, free: 21.53 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.001339/1.111, allocations: 0.6656 MB / 0.9265 GB, free: 21.06 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/1.111, allocations: 9.484 kB / 0.9265 GB, free: 21.06 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002484/1.113, allocations: 254.7 kB / 0.9268 GB, free: 21.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004757/1.114, allocations: 285.5 kB / 0.927 GB, free: 20.81 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/1.114, allocations: 23.88 kB / 0.9271 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.148e-05/1.114, allocations: 28.81 kB / 0.9271 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/1.115, allocations: 430.5 kB / 0.9275 GB, free: 20.76 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/1.115, allocations: 4 kB / 0.9275 GB, free: 20.76 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.392e-05/1.115, allocations: 12.31 kB / 0.9275 GB, free: 20.76 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/1.115, allocations: 10.09 kB / 0.9275 GB, free: 20.75 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/1.117, allocations: 0.5305 MB / 0.928 GB, free: 20.74 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002927/1.12, allocations: 1.138 MB / 0.9291 GB, free: 20.39 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001945/1.122, allocations: 466 kB / 0.9296 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008944/1.123, allocations: 236.5 kB / 0.9298 GB, free: 20.33 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.773e-05/1.123, allocations: 6.641 kB / 0.9298 GB, free: 20.33 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/1.123, allocations: 34.27 kB / 0.9299 GB, free: 20.29 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 2.565e-06/1.123, allocations: 0 / 0.9299 GB, free: 20.29 MB / 0.7325 GB Notification: Performance of matching and sorting (n=25): time 0.01328/1.136, allocations: 1.708 MB / 0.9315 GB, free: 19.94 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/1.136, allocations: 60.3 kB / 0.9316 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004219/1.137, allocations: 314 kB / 0.9319 GB, free: 19.75 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.473e-05/1.137, allocations: 30.77 kB / 0.9319 GB, free: 19.72 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/1.137, allocations: 165.9 kB / 0.9321 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.436e-05/1.137, allocations: 89.8 kB / 0.9322 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/1.137, allocations: 7.25 kB / 0.9322 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001608/1.137, allocations: 344.5 kB / 0.9325 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009156/1.138, allocations: 202.5 kB / 0.9327 GB, free: 19.24 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009005/1.139, allocations: 264.1 kB / 0.9329 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000899/1.14, allocations: 212.2 kB / 0.9331 GB, free: 19.17 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/1.14, allocations: 2.625 kB / 0.9331 GB, free: 19.17 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.005978/1.146, allocations: 0.8876 MB / 0.934 GB, free: 19.06 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/1.146, allocations: 5.719 kB / 0.934 GB, free: 19.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/1.146, allocations: 4.703 kB / 0.934 GB, free: 19.06 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001697/1.148, allocations: 283.5 kB / 0.9343 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004924/1.148, allocations: 70.05 kB / 0.9344 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01274/1.161, allocations: 3.762 MB / 0.938 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008997/1.162, allocations: 76.86 kB / 0.9381 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.372e-05/1.162, allocations: 18.11 kB / 0.9381 GB, free: 16.41 MB / 0.7325 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.0002339/1.162, allocations: 145.1 kB / 0.9383 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.081e-05/1.163, allocations: 36.83 kB / 0.9383 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006194/1.169, allocations: 0.9417 MB / 0.9392 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/1.169, allocations: 2.5 kB / 0.9392 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/1.169, allocations: 0.7188 kB / 0.9392 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.497e-06/1.169, allocations: 2.391 kB / 0.9392 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007258/1.17, allocations: 431.4 kB / 0.9396 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/1.17, allocations: 4 kB / 0.9396 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004168/1.17, allocations: 59.59 kB / 0.9397 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001629/1.172, allocations: 278.3 kB / 0.94 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.906e-05/1.172, allocations: 12.97 kB / 0.94 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01182/1.183, allocations: 3.763 MB / 0.9436 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.184, allocations: 4.953 kB / 0.9436 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005837/1.189, allocations: 0.9474 MB / 0.9446 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/1.19, allocations: 117.7 kB / 0.9447 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.522e-05/1.19, allocations: 9.609 kB / 0.9447 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006521/1.19, allocations: 44.77 kB / 0.9447 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.968e-05/1.19, allocations: 22.3 kB / 0.9448 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.293e-05/1.19, allocations: 19.28 kB / 0.9448 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002959/1.191, allocations: 223.4 kB / 0.945 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.191, allocations: 0 / 0.945 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007029/1.191, allocations: 116.1 kB / 0.9451 GB, free: 12.88 MB / 0.7325 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.0002254/1.192, allocations: 120.3 kB / 0.9452 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002515/1.194, allocations: 0.7286 MB / 0.9459 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.194, allocations: 6.859 kB / 0.9459 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001327/1.196, allocations: 0.499 MB / 0.9464 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000625/1.196, allocations: 106.3 kB / 0.9465 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/1.199, allocations: 0.7594 MB / 0.9473 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/1.199, allocations: 0.7697 MB / 0.948 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005077/1.199, allocations: 79.5 kB / 0.9481 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/1.2, allocations: 33.72 kB / 0.9481 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of SimCode: time 4e-07/1.2, allocations: 0 / 0.9481 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of Templates: time 0.01957/1.219, allocations: 12.65 MB / 0.9605 GB, free: 6.98 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: