Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.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.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",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.001578/0.001578, allocations: 101.4 kB / 15.7 MB, free: 28 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.001802/0.001802, allocations: 194.8 kB / 16.64 MB, free: 6.477 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.301/1.301, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.613/1.613, allocations: 292.3 MB / 0.549 GB, free: 12.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.001467/0.001467, allocations: 80.64 kB / 0.6718 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2069, allocations: 114.5 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.007597/0.2146, allocations: 7.325 MB / 0.7908 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006836/0.2214, allocations: 5.228 MB / 0.7959 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.2227, allocations: 43.75 kB / 0.7959 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004111/0.2268, allocations: 1.683 MB / 0.7976 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001643/0.2285, allocations: 0.6088 MB / 0.7982 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.000777/0.2293, allocations: 223.3 kB / 0.7984 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002101/0.2314, allocations: 1.764 MB / 0.8001 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007105/0.2321, allocations: 0.5775 MB / 0.8007 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008785/0.233, allocations: 0.6763 MB / 0.8013 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009913/0.234, allocations: 0.8084 MB / 0.8021 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001809/0.2342, allocations: 80 kB / 0.8022 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004829/0.2347, allocations: 199.8 kB / 0.8024 GB, free: 9.906 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002803/0.235, allocations: 334.5 kB / 0.8027 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007285/0.2357, allocations: 0.7843 MB / 0.8035 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002011/0.2378, allocations: 2.207 MB / 0.8056 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2378, allocations: 0 / 0.8056 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.276e-06/0.2378, allocations: 0 / 0.8056 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.947e-05/0.2378, allocations: 3.938 kB / 0.8056 GB, free: 6.57 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.003047/0.2409, allocations: 2.198 MB / 0.8078 GB, free: 4.305 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.241, allocations: 12.03 kB / 0.8078 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.572e-05/0.241, allocations: 74.66 kB / 0.8079 GB, free: 4.211 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002503/0.2413, allocations: 202.4 kB / 0.8081 GB, free: 4.012 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002379/0.2437, allocations: 1.657 MB / 0.8097 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.2437, allocations: 33 kB / 0.8097 GB, free: 2.254 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.152e-05/0.2438, allocations: 39.92 kB / 0.8097 GB, free: 2.215 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000627/0.2444, allocations: 450.3 kB / 0.8102 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.2444, allocations: 0 / 0.8102 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.352e-05/0.2445, allocations: 16 kB / 0.8102 GB, free: 1.754 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.865e-05/0.2445, allocations: 20.98 kB / 0.8102 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005646/0.2451, allocations: 427.6 kB / 0.8106 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00305/0.2482, allocations: 2.296 MB / 0.8129 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008897/0.2491, allocations: 0.5001 MB / 0.8133 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002523/0.2493, allocations: 209.3 kB / 0.8135 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.2494, allocations: 4.281 kB / 0.8135 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.2494, allocations: 34.84 kB / 0.8136 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=34): time 1.913e-06/0.2494, allocations: 3.938 kB / 0.8136 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of matching and sorting (n=34): time 0.0009812/0.2504, allocations: 0.6339 MB / 0.8142 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.2505, allocations: 59.39 kB / 0.8143 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003162/0.2536, allocations: 2.556 MB / 0.8168 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.374e-05/0.2537, allocations: 33.7 kB / 0.8168 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006707/0.2544, allocations: 0.7682 MB / 0.8175 GB, free: 10 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 9.498e-05/0.2545, allocations: 110.3 kB / 0.8176 GB, free: 9.891 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.2546, allocations: 73.59 kB / 0.8177 GB, free: 9.812 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.2547, allocations: 326.5 kB / 0.818 GB, free: 9.488 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.2549, allocations: 131.9 kB / 0.8182 GB, free: 9.359 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002327/0.2552, allocations: 178 kB / 0.8183 GB, free: 9.18 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003939/0.2556, allocations: 326.3 kB / 0.8186 GB, free: 8.859 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2556, allocations: 0 / 0.8186 GB, free: 8.859 MB / 0.6387 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007805/0.2563, allocations: 0.5301 MB / 0.8192 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.2564, allocations: 8 kB / 0.8192 GB, free: 8.312 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.2564, allocations: 0 / 0.8192 GB, free: 8.312 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.2564, allocations: 0 / 0.8192 GB, free: 8.312 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003224/0.2567, allocations: 79.89 kB / 0.8192 GB, free: 8.234 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.2568, allocations: 4 kB / 0.8192 GB, free: 8.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004351/0.2572, allocations: 27.69 kB / 0.8193 GB, free: 8.203 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.2572, allocations: 8 kB / 0.8193 GB, free: 8.195 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007791/0.258, allocations: 0.6886 MB / 0.8199 GB, free: 7.496 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002512/0.2583, allocations: 189.6 kB / 0.8201 GB, free: 7.309 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003313/0.2586, allocations: 219.2 kB / 0.8203 GB, free: 7.094 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.2586, allocations: 4 kB / 0.8203 GB, free: 7.09 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.2586, allocations: 0 / 0.8203 GB, free: 7.09 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.2586, allocations: 4 kB / 0.8203 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/0.2606, allocations: 1.566 MB / 0.8219 GB, free: 5.449 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.2606, allocations: 4 kB / 0.8219 GB, free: 5.445 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002911/0.2609, allocations: 71.91 kB / 0.8219 GB, free: 5.375 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.2609, allocations: 4 kB / 0.8219 GB, free: 5.371 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.261, allocations: 15.92 kB / 0.822 GB, free: 5.355 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.261, allocations: 3.938 kB / 0.822 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.261, allocations: 7.922 kB / 0.822 GB, free: 5.344 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007273/0.2617, allocations: 0.6482 MB / 0.8226 GB, free: 4.668 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005192/0.2622, allocations: 370.5 kB / 0.823 GB, free: 4.285 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/0.2624, allocations: 11.94 kB / 0.823 GB, free: 4.273 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003703/0.2628, allocations: 11.98 kB / 0.823 GB, free: 4.262 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.2628, allocations: 19.86 kB / 0.823 GB, free: 4.242 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.2629, allocations: 12 kB / 0.823 GB, free: 4.23 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002252/0.2651, allocations: 1.831 MB / 0.8248 GB, free: 2.383 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2651, allocations: 0 / 0.8248 GB, free: 2.383 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006227/0.2658, allocations: 235.8 kB / 0.825 GB, free: 2.152 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001178/0.2669, allocations: 1.246 MB / 0.8262 GB, free: 0.8789 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004994/0.2675, allocations: 335.6 kB / 0.8266 GB, free: 0.5508 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2675, allocations: 0 / 0.8266 GB, free: 0.5508 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.2677, allocations: 176 kB / 0.8267 GB, free: 388 kB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/0.2698, allocations: 0.6235 MB / 0.8273 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.018/0.2878, allocations: 14.81 MB / 0.8418 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001175/0.289, allocations: 1.758 MB / 0.8435 GB, free: 14.94 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007642/0.2898, allocations: 315.2 kB / 0.8438 GB, free: 14.63 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006214/0.2904, allocations: 0.5852 MB / 0.8444 GB, free: 14.05 MB / 0.67 GB Notification: Performance of SimCode: time 9.61e-07/0.2904, allocations: 4 kB / 0.8444 GB, free: 14.04 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0638/0.3542, allocations: 39.29 MB / 0.8828 GB, free: 7.289 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.95, allocations: 11.05 kB / 0.8828 GB, free: 7.281 MB / 0.7012 GB (rm -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.fmu > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1)