Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.416/1.416, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 188.2 kB / 327 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.976/1.976, allocations: 205.4 MB / 0.578 GB, free: 20.08 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008651/0.000865, allocations: 90.34 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.0003519, allocations: 10.81 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2463, allocations: 106.4 MB / 0.9009 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.007309/0.2537, allocations: 6.837 MB / 0.9076 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.007291/0.2611, allocations: 5.081 MB / 0.9126 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000911/0.262, allocations: 35.81 kB / 0.9126 GB, free: 51.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003965/0.266, allocations: 1.583 MB / 0.9141 GB, free: 49.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.2674, allocations: 0.5355 MB / 0.9147 GB, free: 49.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006172/0.268, allocations: 194.8 kB / 0.9149 GB, free: 49.04 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001569/0.2696, allocations: 1.958 MB / 0.9168 GB, free: 47.07 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005086/0.2701, allocations: 0.5415 MB / 0.9173 GB, free: 46.51 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006531/0.2708, allocations: 0.6254 MB / 0.9179 GB, free: 45.88 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006988/0.2715, allocations: 0.7888 MB / 0.9187 GB, free: 45.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.2716, allocations: 64 kB / 0.9187 GB, free: 45.02 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004084/0.272, allocations: 175.8 kB / 0.9189 GB, free: 44.85 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002299/0.2723, allocations: 302.5 kB / 0.9192 GB, free: 44.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005533/0.2728, allocations: 0.7899 MB / 0.92 GB, free: 43.75 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.2741, allocations: 2.008 MB / 0.9219 GB, free: 41.74 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2741, allocations: 0 / 0.9219 GB, free: 41.74 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2741, allocations: 0 / 0.9219 GB, free: 41.74 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.546e-05/0.2741, allocations: 0 / 0.9219 GB, free: 41.74 MB / 0.6042 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.002238/0.2764, allocations: 1.872 MB / 0.9238 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.2764, allocations: 8.031 kB / 0.9238 GB, free: 39.79 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.312e-05/0.2765, allocations: 78.7 kB / 0.9238 GB, free: 39.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001786/0.2767, allocations: 198.4 kB / 0.924 GB, free: 39.51 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001719/0.2784, allocations: 1.559 MB / 0.9255 GB, free: 37.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.2785, allocations: 25 kB / 0.9256 GB, free: 37.86 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.497e-05/0.2785, allocations: 40 kB / 0.9256 GB, free: 37.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006328/0.2792, allocations: 454.2 kB / 0.926 GB, free: 37.37 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.2792, allocations: 0 / 0.926 GB, free: 37.37 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.442e-05/0.2792, allocations: 12 kB / 0.9261 GB, free: 37.36 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.317e-05/0.2793, allocations: 28.92 kB / 0.9261 GB, free: 37.33 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005088/0.2798, allocations: 427.6 kB / 0.9265 GB, free: 36.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002527/0.2823, allocations: 2.334 MB / 0.9288 GB, free: 34.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008876/0.2832, allocations: 0.5001 MB / 0.9293 GB, free: 33.92 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.2835, allocations: 202.8 kB / 0.9295 GB, free: 33.72 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.2835, allocations: 4.281 kB / 0.9295 GB, free: 33.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.2835, allocations: 42.83 kB / 0.9295 GB, free: 33.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=34): time 1.633e-06/0.2835, allocations: 0 / 0.9295 GB, free: 33.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34): time 0.000837/0.2844, allocations: 0.6366 MB / 0.9301 GB, free: 33.02 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.2844, allocations: 55.41 kB / 0.9302 GB, free: 32.95 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00267/0.2871, allocations: 2.579 MB / 0.9327 GB, free: 30.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.2872, allocations: 33.7 kB / 0.9327 GB, free: 30.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005595/0.2877, allocations: 0.7643 MB / 0.9335 GB, free: 29.53 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.724e-05/0.2878, allocations: 114.3 kB / 0.9336 GB, free: 29.42 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.589e-05/0.2878, allocations: 12 kB / 0.9336 GB, free: 29.41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.71e-05/0.2879, allocations: 322.5 kB / 0.9339 GB, free: 29.09 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.2881, allocations: 135.8 kB / 0.934 GB, free: 28.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.2883, allocations: 181.6 kB / 0.9342 GB, free: 28.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003517/0.2886, allocations: 325.1 kB / 0.9345 GB, free: 28.45 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2886, allocations: 3.938 kB / 0.9345 GB, free: 28.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005616/0.2892, allocations: 0.5262 MB / 0.935 GB, free: 27.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.2892, allocations: 4 kB / 0.935 GB, free: 27.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.2893, allocations: 4 kB / 0.935 GB, free: 27.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.2893, allocations: 8.016 kB / 0.935 GB, free: 27.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.2896, allocations: 79.89 kB / 0.9351 GB, free: 27.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.2896, allocations: 0 / 0.9351 GB, free: 27.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003772/0.29, allocations: 35.67 kB / 0.9352 GB, free: 27.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.29, allocations: 12 kB / 0.9352 GB, free: 27.77 MB / 0.6042 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.0005843/0.2906, allocations: 0.6886 MB / 0.9358 GB, free: 27.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.2908, allocations: 185.6 kB / 0.936 GB, free: 26.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/0.291, allocations: 223.1 kB / 0.9362 GB, free: 26.67 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.291, allocations: 4 kB / 0.9362 GB, free: 26.66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.291, allocations: 3.984 kB / 0.9362 GB, free: 26.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.291, allocations: 0 / 0.9362 GB, free: 26.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001582/0.2926, allocations: 1.57 MB / 0.9378 GB, free: 25.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2926, allocations: 0 / 0.9378 GB, free: 25.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002713/0.2929, allocations: 79.89 kB / 0.9378 GB, free: 24.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.2929, allocations: 4.094 kB / 0.9378 GB, free: 24.94 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.2929, allocations: 8 kB / 0.9379 GB, free: 24.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.2929, allocations: 0 / 0.9379 GB, free: 24.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.293, allocations: 7.938 kB / 0.9379 GB, free: 24.92 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005488/0.2935, allocations: 0.6463 MB / 0.9385 GB, free: 24.25 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004203/0.2939, allocations: 378.4 kB / 0.9389 GB, free: 23.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/0.2941, allocations: 4 kB / 0.9389 GB, free: 23.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003729/0.2945, allocations: 12 kB / 0.9389 GB, free: 23.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.2945, allocations: 23.91 kB / 0.9389 GB, free: 23.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.2945, allocations: 12 kB / 0.9389 GB, free: 23.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001896/0.2964, allocations: 1.847 MB / 0.9407 GB, free: 21.94 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2964, allocations: 0 / 0.9407 GB, free: 21.94 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005686/0.297, allocations: 227.8 kB / 0.9409 GB, free: 21.72 MB / 0.6042 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.001031/0.2981, allocations: 1.26 MB / 0.9422 GB, free: 20.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004452/0.2985, allocations: 324 kB / 0.9425 GB, free: 20.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2985, allocations: 0 / 0.9425 GB, free: 20.11 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.2987, allocations: 171.8 kB / 0.9426 GB, free: 19.95 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/0.301, allocations: 0.5743 MB / 0.9432 GB, free: 19.37 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02184/0.3229, allocations: 16.9 MB / 0.9597 GB, free: 1.633 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/0.324, allocations: 1.75 MB / 0.9614 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0009356/0.325, allocations: 315 kB / 0.9617 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007299/0.3257, allocations: 0.5852 MB / 0.9623 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of SimCode: time 1.172e-06/0.3257, allocations: 0 / 0.9623 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06673/0.3925, allocations: 37.98 MB / 0.9994 GB, free: 9.445 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002202/0.3927, allocations: 301.7 kB / 0.9997 GB, free: 9.059 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.459/3.852, allocations: 0 / 0.9997 GB, free: 9.059 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.fmu > Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1)