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.001124/0.001124, allocations: 108 kB / 15.61 MB, free: 152 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.001157/0.001157, allocations: 197 kB / 16.53 MB, free: 6.699 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.187/1.187, allocations: 205.1 MB / 222.4 MB, free: 4.637 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.579/1.579, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001334/0.001334, allocations: 71.45 kB / 0.6716 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1689, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.007504/0.1764, allocations: 7.22 MB / 0.7905 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007016/0.1834, allocations: 5.6 MB / 0.796 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000967/0.1844, allocations: 39.81 kB / 0.796 GB, free: 472 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004278/0.1887, allocations: 1.702 MB / 0.7977 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001571/0.1904, allocations: 0.6165 MB / 0.7983 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.1914, allocations: 418.2 kB / 0.7987 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002752/0.1942, allocations: 2.95 MB / 0.8016 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006122/0.1948, allocations: 0.5372 MB / 0.8021 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001251/0.1961, allocations: 1.067 MB / 0.8031 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001694/0.1978, allocations: 1.639 MB / 0.8047 GB, free: 7.488 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000411/0.1982, allocations: 200 kB / 0.8049 GB, free: 7.293 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006968/0.1989, allocations: 327.8 kB / 0.8052 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005841/0.1995, allocations: 0.7049 MB / 0.8059 GB, free: 6.266 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001114/0.2006, allocations: 1.213 MB / 0.8071 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002617/0.2032, allocations: 3.45 MB / 0.8105 GB, free: 1.586 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2033, allocations: 4 kB / 0.8105 GB, free: 1.582 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2033, allocations: 0 / 0.8105 GB, free: 1.582 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.794e-05/0.2033, allocations: 4 kB / 0.8105 GB, free: 1.578 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.006138/0.2094, allocations: 3.413 MB / 0.8138 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.2095, allocations: 12.03 kB / 0.8138 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.356e-05/0.2096, allocations: 82.72 kB / 0.8139 GB, free: 14 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003484/0.2099, allocations: 249.8 kB / 0.8142 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002511/0.2125, allocations: 1.89 MB / 0.816 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.26e-05/0.2125, allocations: 61 kB / 0.8161 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001742/0.2127, allocations: 88 kB / 0.8161 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009601/0.2137, allocations: 0.7364 MB / 0.8169 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.2137, allocations: 0 / 0.8169 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.023e-05/0.2137, allocations: 16 kB / 0.8169 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.2138, allocations: 12 kB / 0.8169 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001394/0.2152, allocations: 1.011 MB / 0.8179 GB, free: 9.871 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.01006/0.2252, allocations: 4.574 MB / 0.8223 GB, free: 5.156 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.2265, allocations: 0.8107 MB / 0.8231 GB, free: 4.336 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006322/0.2271, allocations: 0.5475 MB / 0.8237 GB, free: 3.785 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/0.2272, allocations: 4.375 kB / 0.8237 GB, free: 3.781 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.2272, allocations: 46.88 kB / 0.8237 GB, free: 3.727 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=45): time 2.074e-06/0.2272, allocations: 0 / 0.8237 GB, free: 3.727 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45): time 0.01013/0.2374, allocations: 3.668 MB / 0.8273 GB, free: 24 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.2374, allocations: 67.09 kB / 0.8274 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003735/0.2412, allocations: 2.972 MB / 0.8303 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003212/0.2415, allocations: 53.7 kB / 0.8303 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008813/0.2424, allocations: 0.8513 MB / 0.8311 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/0.2426, allocations: 173.6 kB / 0.8313 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005827/0.2432, allocations: 335.5 kB / 0.8316 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.2433, allocations: 357.9 kB / 0.832 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001784/0.2451, allocations: 1.386 MB / 0.8333 GB, free: 9.797 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00207/0.2472, allocations: 1.644 MB / 0.8349 GB, free: 8.141 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002488/0.2497, allocations: 1.96 MB / 0.8368 GB, free: 6.176 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.2497, allocations: 4 kB / 0.8369 GB, free: 6.172 MB / 0.6544 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.006854/0.2566, allocations: 4.141 MB / 0.8409 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.2566, allocations: 4 kB / 0.8409 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.2566, allocations: 4 kB / 0.8409 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00303/0.2597, allocations: 1.102 MB / 0.842 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.261, allocations: 227.7 kB / 0.8422 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01094/0.2719, allocations: 7.95 MB / 0.85 GB, free: 8.578 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002083/0.2741, allocations: 254 kB / 0.8502 GB, free: 8.328 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000197/0.2743, allocations: 47.98 kB / 0.8502 GB, free: 8.281 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.00105/0.2753, allocations: 0.8062 MB / 0.851 GB, free: 7.465 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002633/0.2756, allocations: 213.2 kB / 0.8512 GB, free: 7.254 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003852/0.276, allocations: 254.7 kB / 0.8515 GB, free: 7 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.276, allocations: 4 kB / 0.8515 GB, free: 6.996 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.141e-05/0.276, allocations: 8 kB / 0.8515 GB, free: 6.988 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.276, allocations: 3.984 kB / 0.8515 GB, free: 6.984 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.2774, allocations: 1.252 MB / 0.8527 GB, free: 5.684 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2774, allocations: 0 / 0.8527 GB, free: 5.684 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.145e-05/0.2775, allocations: 11.98 kB / 0.8527 GB, free: 5.672 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002822/0.2803, allocations: 1.034 MB / 0.8537 GB, free: 4.633 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.2803, allocations: 4 kB / 0.8537 GB, free: 4.629 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01079/0.2911, allocations: 7.945 MB / 0.8615 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.2912, allocations: 4 kB / 0.8615 GB, free: 12.53 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003662/0.2948, allocations: 1.993 MB / 0.8635 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007044/0.2955, allocations: 438.1 kB / 0.8639 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002006/0.2957, allocations: 15.98 kB / 0.8639 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006392/0.2964, allocations: 31.81 kB / 0.8639 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.2965, allocations: 39.94 kB / 0.864 GB, free: 9.98 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/0.2966, allocations: 12 kB / 0.864 GB, free: 9.969 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002526/0.2991, allocations: 2.055 MB / 0.866 GB, free: 7.906 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2991, allocations: 0 / 0.866 GB, free: 7.906 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001447/0.3006, allocations: 0.6141 MB / 0.8666 GB, free: 7.293 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.003991/0.3046, allocations: 2.611 MB / 0.8691 GB, free: 4.652 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004698/0.3093, allocations: 2.858 MB / 0.8719 GB, free: 1.781 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3093, allocations: 0 / 0.8719 GB, free: 1.781 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002121/0.3114, allocations: 1.05 MB / 0.8729 GB, free: 0.7188 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002365/0.3138, allocations: 0.659 MB / 0.8736 GB, free: 76 kB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03422/0.348, allocations: 27.99 MB / 0.9009 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001302/0.3494, allocations: 1.915 MB / 0.9028 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008679/0.3502, allocations: 321.8 kB / 0.9031 GB, free: 436 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008521/0.3511, allocations: 0.722 MB / 0.9038 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of SimCode: time 6.92e-07/0.3511, allocations: 3.938 kB / 0.9038 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.21/3.561, allocations: 61.79 MB / 0.9641 GB, free: 112.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.33/19.89, allocations: 10.72 kB / 0.9642 GB, free: 112.2 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.fmu > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1)