Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_8_0_0_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_8_0_0_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.595/2.595, allocations: 287.5 MB / 302.4 MB, free: 8.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0014/0.0014, allocations: 172.5 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.168/2.168, allocations: 205.4 MB / 0.6297 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009722/0.0009719, allocations: 92.61 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006573/0.0006576, allocations: 12.08 kB / 0.8659 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2284, allocations: 115.3 MB / 0.9785 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.008334/0.2368, allocations: 6.435 MB / 0.9847 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008383/0.2452, allocations: 4.769 MB / 0.9894 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001649/0.2469, allocations: 35.81 kB / 0.9894 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.005556/0.2525, allocations: 1.368 MB / 0.9908 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002108/0.2547, allocations: 0.5161 MB / 0.9913 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009209/0.2556, allocations: 177.3 kB / 0.9914 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002765/0.2584, allocations: 1.625 MB / 0.993 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008607/0.2593, allocations: 0.4971 MB / 0.9935 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.2604, allocations: 0.6062 MB / 0.9941 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.2614, allocations: 0.7503 MB / 0.9948 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002344/0.2617, allocations: 64 kB / 0.9949 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007679/0.2624, allocations: 159.8 kB / 0.9951 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003693/0.2628, allocations: 290.7 kB / 0.9953 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004171/0.2633, allocations: 356.7 kB / 0.9957 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001916/0.2652, allocations: 1.637 MB / 0.9973 GB, free: 8.914 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.2652, allocations: 0 / 0.9973 GB, free: 8.914 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.324e-06/0.2652, allocations: 4 kB / 0.9973 GB, free: 8.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.649e-05/0.2653, allocations: 0 / 0.9973 GB, free: 8.91 MB / 0.6198 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.003546/0.2688, allocations: 1.888 MB / 0.9991 GB, free: 6.957 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.2689, allocations: 12.02 kB / 0.9991 GB, free: 6.945 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001291/0.269, allocations: 78.52 kB / 0.9992 GB, free: 6.859 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002972/0.2694, allocations: 201.4 kB / 0.9994 GB, free: 6.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003218/0.2726, allocations: 1.471 MB / 1.001 GB, free: 5.121 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/0.2726, allocations: 21 kB / 1.001 GB, free: 5.098 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.727e-05/0.2727, allocations: 40 kB / 1.001 GB, free: 5.059 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009614/0.2737, allocations: 442.3 kB / 1.001 GB, free: 4.621 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.607e-05/0.2738, allocations: 0 / 1.001 GB, free: 4.621 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.191e-05/0.2738, allocations: 16 kB / 1.001 GB, free: 4.605 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.748e-05/0.2739, allocations: 24.98 kB / 1.001 GB, free: 4.582 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008991/0.2748, allocations: 423.7 kB / 1.002 GB, free: 4.164 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004247/0.2791, allocations: 2.331 MB / 1.004 GB, free: 1.688 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/0.2806, allocations: 0.5045 MB / 1.005 GB, free: 1.176 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004011/0.2811, allocations: 202.8 kB / 1.005 GB, free: 0.9766 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.2811, allocations: 4.281 kB / 1.005 GB, free: 0.9727 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.2811, allocations: 42.78 kB / 1.005 GB, free: 0.9219 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=34): time 3.908e-06/0.2811, allocations: 0 / 1.005 GB, free: 0.9219 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34): time 0.001552/0.2827, allocations: 0.6328 MB / 1.005 GB, free: 288 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.2828, allocations: 59.41 kB / 1.005 GB, free: 216 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005632/0.2884, allocations: 2.563 MB / 1.008 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.000108/0.2886, allocations: 33.7 kB / 1.008 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001212/0.2898, allocations: 0.7683 MB / 1.009 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/0.29, allocations: 114.3 kB / 1.009 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.713e-05/0.29, allocations: 8 kB / 1.009 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.2902, allocations: 318 kB / 1.009 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003726/0.2906, allocations: 131.9 kB / 1.009 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000445/0.291, allocations: 185.3 kB / 1.009 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004517/0.2915, allocations: 163.9 kB / 1.01 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.2915, allocations: 0 / 1.01 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001519/0.293, allocations: 0.5344 MB / 1.01 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.2931, allocations: 7.938 kB / 1.01 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.2931, allocations: 0 / 1.01 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.2931, allocations: 0 / 1.01 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006769/0.2938, allocations: 79.95 kB / 1.01 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.089e-05/0.2938, allocations: 3.938 kB / 1.01 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008408/0.2947, allocations: 35.7 kB / 1.01 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.401e-05/0.2947, allocations: 8 kB / 1.01 GB, free: 11.21 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001396/0.2961, allocations: 0.6822 MB / 1.011 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003697/0.2965, allocations: 189.5 kB / 1.011 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004887/0.297, allocations: 227.1 kB / 1.011 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.2971, allocations: 4 kB / 1.011 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.2971, allocations: 0 / 1.011 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.2971, allocations: 3.984 kB / 1.011 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003456/0.3006, allocations: 1.574 MB / 1.013 GB, free: 8.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.912e-06/0.3006, allocations: 0 / 1.013 GB, free: 8.457 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006272/0.3013, allocations: 79.89 kB / 1.013 GB, free: 8.379 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.201e-05/0.3013, allocations: 4 kB / 1.013 GB, free: 8.375 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/0.3013, allocations: 4 kB / 1.013 GB, free: 8.371 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-05/0.3013, allocations: 4 kB / 1.013 GB, free: 8.367 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.3014, allocations: 96 / 1.013 GB, free: 8.367 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/0.3029, allocations: 0.6398 MB / 1.014 GB, free: 7.699 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009696/0.3039, allocations: 378.4 kB / 1.014 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002708/0.3042, allocations: 7.984 kB / 1.014 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007996/0.305, allocations: 16 kB / 1.014 GB, free: 7.285 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.837e-05/0.3051, allocations: 19.97 kB / 1.014 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-05/0.3052, allocations: 8 kB / 1.014 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.004638/0.3098, allocations: 1.827 MB / 1.016 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.91e-07/0.3099, allocations: 0 / 1.016 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001342/0.3112, allocations: 239.7 kB / 1.016 GB, free: 5.18 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002194/0.3134, allocations: 1.246 MB / 1.017 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000957/0.3144, allocations: 323.7 kB / 1.018 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.3144, allocations: 0 / 1.018 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00042/0.3149, allocations: 176 kB / 1.018 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004648/0.3195, allocations: 0.5817 MB / 1.018 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03755/0.3571, allocations: 12.84 MB / 1.031 GB, free: 5.188 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002152/0.3594, allocations: 1.758 MB / 1.033 GB, free: 3.395 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001469/0.3609, allocations: 307.1 kB / 1.033 GB, free: 3.09 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001335/0.3622, allocations: 0.5891 MB / 1.033 GB, free: 2.5 MB / 0.6511 GB Notification: Performance of SimCode: time 1.743e-06/0.3622, allocations: 4 kB / 1.033 GB, free: 2.496 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7401/1.102, allocations: 37.95 MB / 1.07 GB, free: 80.68 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000241/1.103, allocations: 277.4 kB / 1.071 GB, free: 80.32 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.805/4.908, allocations: 0 / 1.071 GB, free: 80.32 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.fmu > Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1)