Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.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.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 187.8 kB / 16.62 MB, free: 6.613 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.172/1.172, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.495/1.495, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001302/0.001302, allocations: 76.33 kB / 0.6723 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1759, allocations: 114.5 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.00816/0.1841, allocations: 7.224 MB / 0.7912 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007172/0.1913, allocations: 5.591 MB / 0.7966 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009856/0.1923, allocations: 47.69 kB / 0.7967 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003528/0.1959, allocations: 1.698 MB / 0.7983 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001154/0.1971, allocations: 0.6204 MB / 0.7989 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009104/0.198, allocations: 410.3 kB / 0.7993 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002277/0.2003, allocations: 2.965 MB / 0.8022 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005726/0.2009, allocations: 0.5528 MB / 0.8028 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009483/0.2018, allocations: 1.074 MB / 0.8038 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001541/0.2034, allocations: 1.632 MB / 0.8054 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002625/0.2036, allocations: 200 kB / 0.8056 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005191/0.2042, allocations: 319.8 kB / 0.8059 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005127/0.2047, allocations: 0.7127 MB / 0.8066 GB, free: 5.594 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009445/0.2056, allocations: 1.209 MB / 0.8078 GB, free: 4.379 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002448/0.2081, allocations: 3.458 MB / 0.8112 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2081, allocations: 0 / 0.8112 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.233e-06/0.2081, allocations: 0 / 0.8112 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.946e-05/0.2081, allocations: 4 kB / 0.8112 GB, free: 0.9062 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.00577/0.2139, allocations: 3.428 MB / 0.8145 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.2139, allocations: 8.031 kB / 0.8145 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003202/0.2143, allocations: 245.8 kB / 0.8148 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00259/0.2169, allocations: 1.976 MB / 0.8167 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.6e-05/0.2169, allocations: 69 kB / 0.8168 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.2171, allocations: 88 kB / 0.8168 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009443/0.218, allocations: 0.7325 MB / 0.8175 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.2181, allocations: 0 / 0.8175 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.024e-05/0.2181, allocations: 20 kB / 0.8176 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.2181, allocations: 15.94 kB / 0.8176 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.2194, allocations: 1.003 MB / 0.8186 GB, free: 9.188 MB / 0.6387 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008907/0.2284, allocations: 4.542 MB / 0.823 GB, free: 4.508 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.2295, allocations: 0.8068 MB / 0.8238 GB, free: 3.691 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006135/0.2302, allocations: 0.5361 MB / 0.8243 GB, free: 3.152 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.812e-05/0.2302, allocations: 4.375 kB / 0.8243 GB, free: 3.148 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.2302, allocations: 46.81 kB / 0.8244 GB, free: 3.094 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=45): time 2.044e-06/0.2302, allocations: 0 / 0.8244 GB, free: 3.094 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45): time 0.009922/0.2402, allocations: 3.668 MB / 0.8279 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.2402, allocations: 59.16 kB / 0.828 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00353/0.2438, allocations: 2.952 MB / 0.8309 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002325/0.244, allocations: 53.7 kB / 0.8309 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007733/0.2448, allocations: 0.8669 MB / 0.8318 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.2449, allocations: 161.7 kB / 0.8319 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000544/0.2455, allocations: 331.5 kB / 0.8322 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.2456, allocations: 365.9 kB / 0.8326 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001696/0.2473, allocations: 1.386 MB / 0.834 GB, free: 9.184 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001956/0.2493, allocations: 1.636 MB / 0.8355 GB, free: 7.535 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002366/0.2517, allocations: 1.968 MB / 0.8375 GB, free: 5.562 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.2517, allocations: 0 / 0.8375 GB, free: 5.562 MB / 0.6544 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.006417/0.2581, allocations: 4.133 MB / 0.8415 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.2581, allocations: 4 kB / 0.8415 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.2581, allocations: 0 / 0.8415 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002874/0.261, allocations: 1.105 MB / 0.8426 GB, free: 308 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.2621, allocations: 227.7 kB / 0.8428 GB, free: 80 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/0.2727, allocations: 7.941 MB / 0.8506 GB, free: 7.98 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/0.2744, allocations: 262 kB / 0.8508 GB, free: 7.727 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/0.2745, allocations: 40 kB / 0.8509 GB, free: 7.688 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (127): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(11,31,46.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001028/0.2756, allocations: 0.8179 MB / 0.8517 GB, free: 6.859 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002191/0.2758, allocations: 213.1 kB / 0.8519 GB, free: 6.648 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003938/0.2762, allocations: 254.7 kB / 0.8521 GB, free: 6.395 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.2762, allocations: 4 kB / 0.8521 GB, free: 6.391 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.005e-05/0.2762, allocations: 8 kB / 0.8521 GB, free: 6.383 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.2762, allocations: 3.984 kB / 0.8521 GB, free: 6.379 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.2775, allocations: 1.244 MB / 0.8533 GB, free: 5.086 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2775, allocations: 0 / 0.8533 GB, free: 5.086 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.142e-05/0.2776, allocations: 8 kB / 0.8533 GB, free: 5.078 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002662/0.2802, allocations: 1.019 MB / 0.8543 GB, free: 4.055 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/0.2803, allocations: 8 kB / 0.8543 GB, free: 4.047 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01029/0.2906, allocations: 7.942 MB / 0.8621 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2906, allocations: 0 / 0.8621 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003443/0.294, allocations: 1.993 MB / 0.864 GB, free: 9.941 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007595/0.2948, allocations: 446 kB / 0.8645 GB, free: 9.484 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003105/0.2951, allocations: 8 kB / 0.8645 GB, free: 9.477 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000639/0.2958, allocations: 31.89 kB / 0.8645 GB, free: 9.445 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.2959, allocations: 39.95 kB / 0.8645 GB, free: 9.406 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.153e-05/0.2959, allocations: 8 kB / 0.8645 GB, free: 9.398 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003009/0.299, allocations: 2.04 MB / 0.8665 GB, free: 7.352 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/0.299, allocations: 4 kB / 0.8665 GB, free: 7.348 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001416/0.3004, allocations: 0.6131 MB / 0.8671 GB, free: 6.734 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 (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(13,29,43.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003768/0.3008, allocations: 175.5 kB / 0.8673 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004635/0.3054, allocations: 2.85 MB / 0.8701 GB, free: 3.695 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3054, allocations: 4.062 kB / 0.8701 GB, free: 3.691 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00197/0.3074, allocations: 1.042 MB / 0.8711 GB, free: 2.637 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/0.3096, allocations: 0.6621 MB / 0.8718 GB, free: 1.992 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005099/0.3147, allocations: 4.155 MB / 0.8758 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001505/0.3162, allocations: 1.907 MB / 0.8777 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007772/0.317, allocations: 329.9 kB / 0.878 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003354/0.3173, allocations: 91.42 kB / 0.8781 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of SimCode: time 4.41e-07/0.3173, allocations: 0 / 0.8781 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of Templates: time 0.05628/0.3736, allocations: 42.17 MB / 0.9193 GB, free: 1.711 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.makefile (rm -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & ./Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1)