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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,fileNamePrefix="Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,fileNamePrefix="Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001214/0.001214, allocations: 194.8 kB / 16.14 MB, free: 6.66 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.191/1.191, allocations: 205.1 MB / 222 MB, free: 4.762 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.466/1.466, allocations: 292.3 MB / 0.5484 GB, free: 13.7 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.001294/0.001294, allocations: 68.09 kB / 0.6709 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1649, allocations: 114.5 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.006981/0.172, allocations: 7.192 MB / 0.7898 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005631/0.1776, allocations: 5.53 MB / 0.7952 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003955/0.178, allocations: 39.75 kB / 0.7952 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002989/0.181, allocations: 1.59 MB / 0.7968 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0007932/0.1818, allocations: 0.555 MB / 0.7973 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007388/0.1826, allocations: 362.7 kB / 0.7977 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002427/0.185, allocations: 3.144 MB / 0.8008 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004961/0.1855, allocations: 0.5011 MB / 0.8012 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009068/0.1864, allocations: 0.9763 MB / 0.8022 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001453/0.1879, allocations: 1.585 MB / 0.8038 GB, free: 8.371 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002666/0.1882, allocations: 128 kB / 0.8039 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005304/0.1887, allocations: 243.8 kB / 0.8041 GB, free: 8.008 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005284/0.1892, allocations: 0.6307 MB / 0.8047 GB, free: 7.375 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009483/0.1902, allocations: 1.139 MB / 0.8058 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002317/0.1925, allocations: 3.256 MB / 0.809 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1925, allocations: 0 / 0.809 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of FrontEnd: time 6.51e-07/0.1925, allocations: 0 / 0.809 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.581e-05/0.1926, allocations: 0 / 0.809 GB, free: 2.965 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.005306/0.1979, allocations: 3.374 MB / 0.8123 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.1979, allocations: 8.031 kB / 0.8123 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001005/0.198, allocations: 90.64 kB / 0.8124 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003454/0.1984, allocations: 249.8 kB / 0.8126 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002442/0.2008, allocations: 1.882 MB / 0.8145 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.33e-05/0.2009, allocations: 61 kB / 0.8145 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.201, allocations: 88 kB / 0.8146 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009726/0.202, allocations: 0.7363 MB / 0.8153 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.202, allocations: 0 / 0.8153 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.553e-05/0.2021, allocations: 24 kB / 0.8154 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.2021, allocations: 12 kB / 0.8154 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.2035, allocations: 1.015 MB / 0.8164 GB, free: 11.28 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.008352/0.2118, allocations: 4.566 MB / 0.8208 GB, free: 6.574 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.213, allocations: 0.8012 MB / 0.8216 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000605/0.2136, allocations: 0.5437 MB / 0.8221 GB, free: 5.219 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.682e-05/0.2136, allocations: 8.375 kB / 0.8221 GB, free: 5.211 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.2137, allocations: 34.88 kB / 0.8222 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=45): time 1.452e-06/0.2137, allocations: 0 / 0.8222 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45): time 0.008909/0.2226, allocations: 3.687 MB / 0.8258 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.2226, allocations: 63.09 kB / 0.8258 GB, free: 1.371 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002949/0.2256, allocations: 2.964 MB / 0.8287 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001276/0.2257, allocations: 53.7 kB / 0.8288 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007506/0.2265, allocations: 0.8552 MB / 0.8296 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.2266, allocations: 169.7 kB / 0.8298 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005203/0.2271, allocations: 335.5 kB / 0.8301 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.2273, allocations: 361.9 kB / 0.8304 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001663/0.2289, allocations: 1.386 MB / 0.8318 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001937/0.2309, allocations: 1.632 MB / 0.8334 GB, free: 9.582 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002316/0.2332, allocations: 1.968 MB / 0.8353 GB, free: 7.609 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.2332, allocations: 0 / 0.8353 GB, free: 7.609 MB / 0.6544 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.005992/0.2392, allocations: 4.137 MB / 0.8394 GB, free: 3.457 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.2392, allocations: 8.938 kB / 0.8394 GB, free: 3.449 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2392, allocations: 0 / 0.8394 GB, free: 3.449 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002767/0.242, allocations: 1.102 MB / 0.8404 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009975/0.243, allocations: 223.7 kB / 0.8407 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009512/0.2525, allocations: 7.277 MB / 0.8478 GB, free: 10.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.2539, allocations: 270.1 kB / 0.848 GB, free: 10.43 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.254, allocations: 43.94 kB / 0.8481 GB, free: 10.39 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.0008689/0.2549, allocations: 0.8063 MB / 0.8488 GB, free: 9.574 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/0.2551, allocations: 213.1 kB / 0.849 GB, free: 9.363 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003489/0.2554, allocations: 258.7 kB / 0.8493 GB, free: 9.102 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.2554, allocations: 8 kB / 0.8493 GB, free: 9.094 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.2555, allocations: 4 kB / 0.8493 GB, free: 9.09 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2555, allocations: 4 kB / 0.8493 GB, free: 9.086 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.2567, allocations: 1.252 MB / 0.8505 GB, free: 7.785 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2567, allocations: 0 / 0.8505 GB, free: 7.785 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.363e-05/0.2567, allocations: 7.984 kB / 0.8505 GB, free: 7.777 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002633/0.2594, allocations: 1.015 MB / 0.8515 GB, free: 6.758 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.362e-05/0.2594, allocations: 12 kB / 0.8515 GB, free: 6.746 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009364/0.2688, allocations: 7.272 MB / 0.8586 GB, free: 15.33 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2688, allocations: 0 / 0.8586 GB, free: 15.33 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003144/0.2719, allocations: 1.985 MB / 0.8606 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005506/0.2725, allocations: 454.1 kB / 0.861 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/0.2727, allocations: 11.94 kB / 0.861 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005435/0.2732, allocations: 43.73 kB / 0.8611 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.2734, allocations: 43.88 kB / 0.8611 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.2734, allocations: 16 kB / 0.8611 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002211/0.2756, allocations: 2.052 MB / 0.8631 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2756, allocations: 0 / 0.8631 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001122/0.2768, allocations: 0.621 MB / 0.8637 GB, free: 10.07 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.003594/0.2804, allocations: 2.595 MB / 0.8663 GB, free: 7.449 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00395/0.2843, allocations: 2.846 MB / 0.8691 GB, free: 4.59 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2843, allocations: 7.938 kB / 0.8691 GB, free: 4.582 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001814/0.2861, allocations: 1.043 MB / 0.8701 GB, free: 3.527 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/0.2882, allocations: 0.6313 MB / 0.8707 GB, free: 2.898 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03997/0.3282, allocations: 28.36 MB / 0.8984 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001398/0.3296, allocations: 1.919 MB / 0.9003 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008189/0.3305, allocations: 337.7 kB / 0.9006 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008815/0.3314, allocations: 0.7258 MB / 0.9013 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of SimCode: time 5.01e-07/0.3314, allocations: 0 / 0.9013 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.124/2.455, allocations: 60.49 MB / 0.9604 GB, free: 115.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/2.455, allocations: 309.8 kB / 0.9607 GB, free: 114.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.943/5.398, allocations: 7.312 kB / 0.9607 GB, free: 114.8 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.fmu > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1)