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.001239/0.001239, allocations: 101.4 kB / 15.69 MB, free: 140 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.001301/0.001301, allocations: 195.1 kB / 16.63 MB, free: 6.328 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.312/1.312, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.593/1.593, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001385/0.001385, allocations: 65.38 kB / 0.6718 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1976, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.007733/0.2054, allocations: 7.236 MB / 0.7907 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007121/0.2126, allocations: 5.583 MB / 0.7961 GB, free: 408 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000949/0.2136, allocations: 47.75 kB / 0.7962 GB, free: 360 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00379/0.2174, allocations: 1.702 MB / 0.7978 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001348/0.2188, allocations: 0.6243 MB / 0.7985 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.2199, allocations: 410.4 kB / 0.7988 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002805/0.2227, allocations: 2.97 MB / 0.8017 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006421/0.2233, allocations: 0.5411 MB / 0.8023 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.2245, allocations: 1.07 MB / 0.8033 GB, free: 9 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001754/0.2263, allocations: 1.635 MB / 0.8049 GB, free: 7.359 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002972/0.2266, allocations: 196 kB / 0.8051 GB, free: 7.168 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005802/0.2272, allocations: 327.8 kB / 0.8054 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006084/0.2278, allocations: 0.701 MB / 0.8061 GB, free: 6.145 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.2289, allocations: 1.217 MB / 0.8073 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002757/0.2317, allocations: 3.458 MB / 0.8107 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2317, allocations: 4 kB / 0.8107 GB, free: 1.449 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2317, allocations: 0 / 0.8107 GB, free: 1.449 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.965e-05/0.2317, allocations: 3.938 kB / 0.8107 GB, free: 1.445 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.006393/0.2381, allocations: 3.421 MB / 0.814 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.2382, allocations: 12.03 kB / 0.814 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001051/0.2383, allocations: 86.72 kB / 0.8141 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000364/0.2387, allocations: 249.8 kB / 0.8143 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002857/0.2415, allocations: 1.983 MB / 0.8163 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.798e-05/0.2416, allocations: 65 kB / 0.8163 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001796/0.2418, allocations: 88 kB / 0.8164 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.2428, allocations: 0.7364 MB / 0.8172 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.2429, allocations: 0 / 0.8172 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.385e-05/0.2429, allocations: 27.94 kB / 0.8172 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.2429, allocations: 12 kB / 0.8172 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.2443, allocations: 1.007 MB / 0.8182 GB, free: 9.617 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.009762/0.2541, allocations: 4.531 MB / 0.8226 GB, free: 4.945 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.2554, allocations: 0.8029 MB / 0.8234 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006569/0.2561, allocations: 0.5439 MB / 0.8239 GB, free: 3.586 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.203e-05/0.2561, allocations: 4.375 kB / 0.8239 GB, free: 3.582 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.2561, allocations: 42.88 kB / 0.824 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=45): time 1.914e-06/0.2561, allocations: 0 / 0.824 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45): time 0.01042/0.2666, allocations: 3.676 MB / 0.8275 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.2666, allocations: 67.09 kB / 0.8276 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003741/0.2704, allocations: 2.941 MB / 0.8305 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003638/0.2708, allocations: 53.7 kB / 0.8305 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001276/0.2721, allocations: 0.8552 MB / 0.8314 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002499/0.2723, allocations: 165.7 kB / 0.8315 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007265/0.2731, allocations: 335.5 kB / 0.8318 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.2732, allocations: 361.9 kB / 0.8322 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/0.2751, allocations: 1.386 MB / 0.8335 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002129/0.2772, allocations: 1.64 MB / 0.8351 GB, free: 7.969 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002519/0.2797, allocations: 1.957 MB / 0.8371 GB, free: 6.008 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.2798, allocations: 0 / 0.8371 GB, free: 6.008 MB / 0.6544 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.007041/0.2868, allocations: 4.145 MB / 0.8411 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.2869, allocations: 4 kB / 0.8411 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.2869, allocations: 0 / 0.8411 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003132/0.29, allocations: 1.109 MB / 0.8422 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.2912, allocations: 223.7 kB / 0.8424 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01157/0.3028, allocations: 7.937 MB / 0.8502 GB, free: 8.426 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002174/0.305, allocations: 273.9 kB / 0.8504 GB, free: 8.156 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001959/0.3052, allocations: 40 kB / 0.8505 GB, free: 8.117 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.001185/0.3064, allocations: 0.8024 MB / 0.8512 GB, free: 7.305 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003188/0.3067, allocations: 213.2 kB / 0.8514 GB, free: 7.094 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004181/0.3072, allocations: 258.8 kB / 0.8517 GB, free: 6.836 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.3072, allocations: 11.94 kB / 0.8517 GB, free: 6.824 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-05/0.3072, allocations: 4 kB / 0.8517 GB, free: 6.82 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3072, allocations: 0 / 0.8517 GB, free: 6.82 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/0.3087, allocations: 1.252 MB / 0.8529 GB, free: 5.52 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.3087, allocations: 0 / 0.8529 GB, free: 5.52 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.344e-05/0.3088, allocations: 4 kB / 0.8529 GB, free: 5.516 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002961/0.3117, allocations: 1.023 MB / 0.8539 GB, free: 4.488 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.962e-05/0.3118, allocations: 7.984 kB / 0.8539 GB, free: 4.48 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01117/0.323, allocations: 7.938 MB / 0.8617 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.323, allocations: 4 kB / 0.8617 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003876/0.3269, allocations: 1.993 MB / 0.8636 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008088/0.3277, allocations: 442.1 kB / 0.8641 GB, free: 9.922 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/0.3279, allocations: 8 kB / 0.8641 GB, free: 9.914 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006228/0.3285, allocations: 35.81 kB / 0.8641 GB, free: 9.879 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.3287, allocations: 35.94 kB / 0.8641 GB, free: 9.844 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.192e-05/0.3287, allocations: 12 kB / 0.8641 GB, free: 9.832 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002608/0.3313, allocations: 2.044 MB / 0.8661 GB, free: 7.781 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3313, allocations: 0 / 0.8661 GB, free: 7.781 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001512/0.3329, allocations: 0.6131 MB / 0.8667 GB, free: 7.168 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.00423/0.3371, allocations: 2.599 MB / 0.8693 GB, free: 4.539 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004974/0.3421, allocations: 2.85 MB / 0.8721 GB, free: 1.676 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.3421, allocations: 0 / 0.8721 GB, free: 1.676 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002167/0.3443, allocations: 1.054 MB / 0.8731 GB, free: 0.6094 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002525/0.3468, allocations: 0.673 MB / 0.8738 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03637/0.3832, allocations: 25.3 MB / 0.8985 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001497/0.3847, allocations: 1.911 MB / 0.9003 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00107/0.3858, allocations: 333.9 kB / 0.9006 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000932/0.3868, allocations: 0.7297 MB / 0.9014 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of SimCode: time 7.52e-07/0.3868, allocations: 0 / 0.9014 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4237/0.8104, allocations: 61.76 MB / 0.9617 GB, free: 115.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.49, allocations: 12.56 kB / 0.9617 GB, free: 115.3 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.fmu > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1)