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.001098/0.001098, allocations: 108 kB / 15.6 MB, free: 132 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.001247/0.001248, allocations: 192 kB / 16.53 MB, free: 6.391 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.434/1.434, allocations: 205.1 MB / 222.4 MB, free: 4.406 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.664/1.664, allocations: 292.3 MB / 0.5489 GB, free: 12.77 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.001418/0.001418, allocations: 69.64 kB / 0.6716 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2597, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.008764/0.2685, allocations: 7.225 MB / 0.7905 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01025/0.2788, allocations: 5.595 MB / 0.796 GB, free: 480 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001823/0.2806, allocations: 35.81 kB / 0.796 GB, free: 444 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.005485/0.2861, allocations: 1.702 MB / 0.7977 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002794/0.289, allocations: 0.6243 MB / 0.7983 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001652/0.2907, allocations: 413.6 kB / 0.7987 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004175/0.2949, allocations: 2.95 MB / 0.8016 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007327/0.2956, allocations: 0.5372 MB / 0.8021 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001627/0.2973, allocations: 1.067 MB / 0.8031 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001969/0.2993, allocations: 1.635 MB / 0.8047 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003973/0.2997, allocations: 200 kB / 0.8049 GB, free: 7.27 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008186/0.3005, allocations: 323.8 kB / 0.8052 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006599/0.3012, allocations: 0.7088 MB / 0.8059 GB, free: 6.242 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001462/0.3026, allocations: 1.217 MB / 0.8071 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003482/0.3061, allocations: 3.45 MB / 0.8105 GB, free: 1.559 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3061, allocations: 0 / 0.8105 GB, free: 1.559 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3062, allocations: 0 / 0.8105 GB, free: 1.559 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.599e-05/0.3062, allocations: 0 / 0.8105 GB, free: 1.559 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.007148/0.3134, allocations: 3.417 MB / 0.8138 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/0.3135, allocations: 12.03 kB / 0.8138 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001098/0.3136, allocations: 86.7 kB / 0.8139 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000418/0.314, allocations: 249.8 kB / 0.8142 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003094/0.3171, allocations: 1.886 MB / 0.816 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.843e-05/0.3172, allocations: 61 kB / 0.8161 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000198/0.3174, allocations: 88 kB / 0.8161 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.3185, allocations: 0.7403 MB / 0.8169 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.3185, allocations: 0 / 0.8169 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.196e-05/0.3186, allocations: 16 kB / 0.8169 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.3186, allocations: 12 kB / 0.8169 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00146/0.3201, allocations: 1.007 MB / 0.8179 GB, free: 9.844 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.01124/0.3314, allocations: 4.577 MB / 0.8224 GB, free: 5.125 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.3328, allocations: 0.8122 MB / 0.8231 GB, free: 4.301 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000703/0.3335, allocations: 0.5359 MB / 0.8237 GB, free: 3.762 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.938e-05/0.3336, allocations: 12.3 kB / 0.8237 GB, free: 3.75 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.3336, allocations: 42.88 kB / 0.8237 GB, free: 3.699 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=45): time 2.535e-06/0.3336, allocations: 0 / 0.8237 GB, free: 3.699 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45): time 0.01135/0.345, allocations: 3.668 MB / 0.8273 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.699e-05/0.3451, allocations: 63.09 kB / 0.8274 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007376/0.3525, allocations: 2.972 MB / 0.8303 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0005486/0.3531, allocations: 53.7 kB / 0.8303 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.00148/0.3546, allocations: 0.8591 MB / 0.8312 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003388/0.355, allocations: 165.7 kB / 0.8313 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001076/0.3561, allocations: 335.5 kB / 0.8316 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.3563, allocations: 357.9 kB / 0.832 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001833/0.3581, allocations: 1.39 MB / 0.8333 GB, free: 9.77 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002159/0.3603, allocations: 1.644 MB / 0.8349 GB, free: 8.113 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002586/0.3629, allocations: 1.964 MB / 0.8369 GB, free: 6.145 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.3629, allocations: 4 kB / 0.8369 GB, free: 6.141 MB / 0.6544 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.007188/0.3701, allocations: 4.129 MB / 0.8409 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.3701, allocations: 4 kB / 0.8409 GB, free: 1.992 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.3702, allocations: 3.984 kB / 0.8409 GB, free: 1.988 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003093/0.3733, allocations: 1.113 MB / 0.842 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/0.3748, allocations: 227.7 kB / 0.8422 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01156/0.3864, allocations: 7.95 MB / 0.85 GB, free: 8.547 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002458/0.3889, allocations: 258 kB / 0.8502 GB, free: 8.293 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002017/0.3891, allocations: 47.98 kB / 0.8503 GB, free: 8.246 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.001353/0.3904, allocations: 0.8017 MB / 0.851 GB, free: 7.434 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003273/0.3908, allocations: 213.2 kB / 0.8512 GB, free: 7.223 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003996/0.3912, allocations: 262.7 kB / 0.8515 GB, free: 6.961 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.3912, allocations: 4 kB / 0.8515 GB, free: 6.957 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.109e-05/0.3912, allocations: 8 kB / 0.8515 GB, free: 6.949 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.3912, allocations: 3.984 kB / 0.8515 GB, free: 6.945 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.3926, allocations: 1.252 MB / 0.8527 GB, free: 5.645 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3926, allocations: 0 / 0.8527 GB, free: 5.645 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.079e-05/0.3927, allocations: 8 kB / 0.8527 GB, free: 5.637 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00293/0.3957, allocations: 1.03 MB / 0.8537 GB, free: 4.602 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.939e-05/0.3957, allocations: 8 kB / 0.8538 GB, free: 4.594 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01139/0.4071, allocations: 7.945 MB / 0.8615 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.4072, allocations: 0 / 0.8615 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003954/0.4111, allocations: 1.997 MB / 0.8635 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001226/0.4124, allocations: 442.1 kB / 0.8639 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002383/0.4126, allocations: 11.98 kB / 0.8639 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006708/0.4133, allocations: 31.81 kB / 0.8639 GB, free: 9.984 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002646/0.4136, allocations: 43.94 kB / 0.864 GB, free: 9.941 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.72e-05/0.4136, allocations: 12 kB / 0.864 GB, free: 9.93 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003469/0.4171, allocations: 2.048 MB / 0.866 GB, free: 7.875 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.9e-07/0.4171, allocations: 0 / 0.866 GB, free: 7.875 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00264/0.4198, allocations: 0.618 MB / 0.8666 GB, free: 7.258 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.004667/0.4244, allocations: 2.595 MB / 0.8691 GB, free: 4.633 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006193/0.4307, allocations: 2.865 MB / 0.8719 GB, free: 1.754 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.4307, allocations: 0 / 0.8719 GB, free: 1.754 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002377/0.4331, allocations: 1.047 MB / 0.8729 GB, free: 0.6953 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003513/0.4367, allocations: 0.6627 MB / 0.8736 GB, free: 48 kB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04892/0.4856, allocations: 28 MB / 0.9009 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001662/0.4873, allocations: 1.911 MB / 0.9028 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001539/0.4889, allocations: 321.8 kB / 0.9031 GB, free: 404 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001237/0.4901, allocations: 0.7297 MB / 0.9038 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of SimCode: time 1.532e-06/0.4902, allocations: 0 / 0.9038 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4981/0.9882, allocations: 61.78 MB / 0.9641 GB, free: 113 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.77, allocations: 14.25 kB / 0.9642 GB, free: 113 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)