Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,fileNamePrefix="Buildings_latest_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.001051/0.001051, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.475/2.475, allocations: 409.4 MB / 0.684 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000334/0.0003341, allocations: 12 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6541/0.6545, allocations: 146.8 MB / 0.9811 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.006651/0.6612, allocations: 6.363 MB / 0.9873 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.00722/0.6684, allocations: 5.092 MB / 0.9923 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009962/0.6695, allocations: 35.81 kB / 0.9923 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003415/0.6729, allocations: 1.376 MB / 0.9937 GB, free: 9.309 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001232/0.6741, allocations: 0.5433 MB / 0.9942 GB, free: 8.762 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008301/0.675, allocations: 306.3 kB / 0.9945 GB, free: 8.465 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002531/0.6775, allocations: 2.632 MB / 0.9971 GB, free: 5.828 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006638/0.6782, allocations: 0.4931 MB / 0.9976 GB, free: 5.309 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001348/0.6796, allocations: 0.9726 MB / 0.9985 GB, free: 4.332 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001592/0.6812, allocations: 1.542 MB / 1 GB, free: 2.785 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002512/0.6814, allocations: 124 kB / 1 GB, free: 2.664 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005349/0.682, allocations: 219.8 kB / 1 GB, free: 2.449 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005539/0.6825, allocations: 0.6152 MB / 1.001 GB, free: 1.832 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0004248/0.683, allocations: 436.5 kB / 1.001 GB, free: 1.398 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001919/0.6849, allocations: 2.56 MB / 1.004 GB, free: 14.83 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.6849, allocations: 0 / 1.004 GB, free: 14.83 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6849, allocations: 0 / 1.004 GB, free: 14.83 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.252e-05/0.6849, allocations: 0 / 1.004 GB, free: 14.83 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.006041/0.691, allocations: 3.555 MB / 1.007 GB, free: 11.21 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.691, allocations: 11.98 kB / 1.007 GB, free: 11.2 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001151/0.6912, allocations: 86.53 kB / 1.007 GB, free: 11.1 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003466/0.6915, allocations: 241 kB / 1.008 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002631/0.6942, allocations: 1.789 MB / 1.009 GB, free: 9.012 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.083e-05/0.6942, allocations: 68.98 kB / 1.009 GB, free: 8.945 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001786/0.6944, allocations: 88 kB / 1.01 GB, free: 8.859 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.6954, allocations: 0.709 MB / 1.01 GB, free: 8.145 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.6955, allocations: 3.938 kB / 1.01 GB, free: 8.141 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.137e-05/0.6955, allocations: 20 kB / 1.01 GB, free: 8.121 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.6955, allocations: 8 kB / 1.01 GB, free: 8.113 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.6969, allocations: 0.9719 MB / 1.011 GB, free: 7.141 MB / 0.7637 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.009994/0.7069, allocations: 5.103 MB / 1.016 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.7082, allocations: 0.7804 MB / 1.017 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006108/0.7088, allocations: 0.4888 MB / 1.017 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.732e-05/0.7089, allocations: 8.719 kB / 1.017 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.7089, allocations: 34.56 kB / 1.017 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=44): time 2.054e-06/0.7089, allocations: 0 / 1.017 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of matching and sorting (n=44): time 0.009301/0.7182, allocations: 3.56 MB / 1.021 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.7183, allocations: 63.36 kB / 1.021 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003738/0.722, allocations: 2.956 MB / 1.024 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0003267/0.7224, allocations: 45.7 kB / 1.024 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008468/0.7232, allocations: 0.8553 MB / 1.025 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/0.7234, allocations: 165.7 kB / 1.025 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.7235, allocations: 28 kB / 1.025 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.7236, allocations: 357.9 kB / 1.025 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001826/0.7255, allocations: 1.363 MB / 1.027 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002184/0.7277, allocations: 1.624 MB / 1.028 GB, free: 5.469 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001982/0.7297, allocations: 1.463 MB / 1.03 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.7297, allocations: 0 / 1.03 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006856/0.7365, allocations: 4.074 MB / 1.034 GB, free: 15.91 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.7366, allocations: 4 kB / 1.034 GB, free: 15.91 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.7366, allocations: 3.953 kB / 1.034 GB, free: 15.91 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002927/0.7395, allocations: 1.101 MB / 1.035 GB, free: 14.8 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.7407, allocations: 223.7 kB / 1.035 GB, free: 14.58 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01087/0.7516, allocations: 7.362 MB / 1.042 GB, free: 7.078 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002019/0.7536, allocations: 254.1 kB / 1.042 GB, free: 6.828 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001793/0.7538, allocations: 47.98 kB / 1.042 GB, free: 6.781 MB / 0.795 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 (126): * Single equations (assignments): 125 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(11,46.3%) 31} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001262/0.7551, allocations: 0.7979 MB / 1.043 GB, free: 5.973 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003073/0.7554, allocations: 213.1 kB / 1.043 GB, free: 5.762 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000473/0.7559, allocations: 258.7 kB / 1.044 GB, free: 5.5 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.7559, allocations: 4 kB / 1.044 GB, free: 5.496 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.027e-05/0.756, allocations: 8 kB / 1.044 GB, free: 5.488 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.756, allocations: 3.984 kB / 1.044 GB, free: 5.484 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.7574, allocations: 1.232 MB / 1.045 GB, free: 4.203 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.7574, allocations: 0 / 1.045 GB, free: 4.203 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.919e-05/0.7574, allocations: 4 kB / 1.045 GB, free: 4.199 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002647/0.7601, allocations: 1.019 MB / 1.046 GB, free: 3.176 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-05/0.7601, allocations: 15.98 kB / 1.046 GB, free: 3.16 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01056/0.7707, allocations: 7.316 MB / 1.053 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.7708, allocations: 4 kB / 1.053 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003573/0.7743, allocations: 1.953 MB / 1.055 GB, free: 9.723 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008431/0.7752, allocations: 446 kB / 1.055 GB, free: 9.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/0.7754, allocations: 7.938 kB / 1.055 GB, free: 9.258 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005307/0.7759, allocations: 39.8 kB / 1.055 GB, free: 9.219 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.7761, allocations: 43.94 kB / 1.055 GB, free: 9.176 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/0.7761, allocations: 8 kB / 1.055 GB, free: 9.168 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002825/0.7789, allocations: 2.036 MB / 1.057 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3e-07/0.779, allocations: 0 / 1.057 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00174/0.7807, allocations: 0.618 MB / 1.058 GB, free: 6.508 MB / 0.8106 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 (3): * Single equations (assignments): 2 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(13,43.8%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004025/0.7847, allocations: 2.571 MB / 1.061 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.005405/0.7902, allocations: 2.835 MB / 1.063 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.7902, allocations: 0 / 1.063 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002475/0.7927, allocations: 1.067 MB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003037/0.7957, allocations: 0.617 MB / 1.065 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03731/0.833, allocations: 20.11 MB / 1.085 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001527/0.8346, allocations: 1.911 MB / 1.086 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001184/0.8358, allocations: 321.6 kB / 1.087 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009339/0.8368, allocations: 0.7141 MB / 1.087 GB, free: 7.195 MB / 0.8419 GB Notification: Performance of SimCode: time 7.51e-07/0.8368, allocations: 0 / 1.087 GB, free: 7.195 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09354/0.9303, allocations: 59.72 MB / 1.146 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001987/0.9306, allocations: 289 kB / 1.146 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.014/3.945, allocations: 0 / 1.146 GB, free: 11.79 MB / 0.9044 GB (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat does not exist to compare? outputFormat=mat