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.001259/0.001259, allocations: 105.4 kB / 15.7 MB, free: 24 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.001375/0.001375, allocations: 198.9 kB / 16.64 MB, free: 6.453 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.251/1.251, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.614/1.614, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001383/0.001383, allocations: 69.88 kB / 0.6718 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1932, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.007988/0.2013, allocations: 7.228 MB / 0.7907 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007622/0.2089, allocations: 5.599 MB / 0.7962 GB, free: 392 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00135/0.2103, allocations: 47.69 kB / 0.7962 GB, free: 344 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004489/0.2148, allocations: 1.694 MB / 0.7979 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00189/0.2168, allocations: 0.6204 MB / 0.7985 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.2182, allocations: 410.1 kB / 0.7989 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003304/0.2215, allocations: 2.959 MB / 0.8018 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008267/0.2223, allocations: 0.5488 MB / 0.8023 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001617/0.2239, allocations: 1.074 MB / 0.8033 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002183/0.2261, allocations: 1.639 MB / 0.8049 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0006782/0.2268, allocations: 196 kB / 0.8051 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.2279, allocations: 327.8 kB / 0.8054 GB, free: 6.836 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0008515/0.2288, allocations: 0.7011 MB / 0.8061 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001849/0.2306, allocations: 1.213 MB / 0.8073 GB, free: 4.914 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003469/0.2341, allocations: 3.47 MB / 0.8107 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2341, allocations: 0 / 0.8107 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2341, allocations: 0 / 0.8107 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.676e-05/0.2342, allocations: 0 / 0.8107 GB, free: 1.434 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.007743/0.242, allocations: 3.417 MB / 0.814 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.242, allocations: 12.03 kB / 0.814 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001672/0.2422, allocations: 86.7 kB / 0.8141 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005864/0.2428, allocations: 249.8 kB / 0.8144 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003455/0.2463, allocations: 1.98 MB / 0.8163 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.809e-05/0.2463, allocations: 61 kB / 0.8164 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002546/0.2466, allocations: 88 kB / 0.8164 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.2477, allocations: 0.7402 MB / 0.8172 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.2477, allocations: 0 / 0.8172 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.141e-05/0.2477, allocations: 16 kB / 0.8172 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.2478, allocations: 12 kB / 0.8172 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/0.2492, allocations: 1.007 MB / 0.8182 GB, free: 9.625 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.01015/0.2593, allocations: 4.538 MB / 0.8226 GB, free: 4.945 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.2606, allocations: 0.8146 MB / 0.8234 GB, free: 4.121 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006327/0.2612, allocations: 0.5322 MB / 0.8239 GB, free: 3.586 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.388e-05/0.2613, allocations: 8.375 kB / 0.8239 GB, free: 3.578 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.2613, allocations: 42.88 kB / 0.824 GB, free: 3.527 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=45): time 2.554e-06/0.2613, allocations: 0 / 0.824 GB, free: 3.527 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45): time 0.009829/0.2712, allocations: 3.672 MB / 0.8276 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.2712, allocations: 63.09 kB / 0.8276 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004416/0.2756, allocations: 2.948 MB / 0.8305 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003345/0.276, allocations: 53.7 kB / 0.8305 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001005/0.277, allocations: 0.8552 MB / 0.8314 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002126/0.2772, allocations: 169.7 kB / 0.8315 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008347/0.2781, allocations: 327.5 kB / 0.8319 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.2782, allocations: 365.9 kB / 0.8322 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/0.28, allocations: 1.386 MB / 0.8336 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002108/0.2821, allocations: 1.636 MB / 0.8352 GB, free: 7.973 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002485/0.2846, allocations: 1.968 MB / 0.8371 GB, free: 6 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.2847, allocations: 0 / 0.8371 GB, free: 6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.007006/0.2917, allocations: 4.133 MB / 0.8411 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.2917, allocations: 11.94 kB / 0.8411 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.2918, allocations: 4 kB / 0.8411 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002983/0.2947, allocations: 1.102 MB / 0.8422 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/0.296, allocations: 223.7 kB / 0.8424 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01113/0.3071, allocations: 7.938 MB / 0.8502 GB, free: 8.422 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002037/0.3092, allocations: 269.9 kB / 0.8504 GB, free: 8.156 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003188/0.3095, allocations: 40 kB / 0.8505 GB, free: 8.117 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.001329/0.3109, allocations: 0.8063 MB / 0.8513 GB, free: 7.301 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004545/0.3113, allocations: 209.2 kB / 0.8515 GB, free: 7.094 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005897/0.3119, allocations: 258.7 kB / 0.8517 GB, free: 6.836 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.3119, allocations: 7.984 kB / 0.8517 GB, free: 6.828 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-05/0.312, allocations: 8 kB / 0.8517 GB, free: 6.82 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.312, allocations: 7.984 kB / 0.8517 GB, free: 6.812 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001908/0.3139, allocations: 1.24 MB / 0.8529 GB, free: 5.523 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.3139, allocations: 0 / 0.8529 GB, free: 5.523 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.784e-05/0.314, allocations: 4 kB / 0.8529 GB, free: 5.52 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002761/0.3168, allocations: 1.027 MB / 0.8539 GB, free: 4.488 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.883e-05/0.3168, allocations: 8.094 kB / 0.8539 GB, free: 4.48 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01123/0.3281, allocations: 7.95 MB / 0.8617 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3281, allocations: 0 / 0.8617 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003709/0.3318, allocations: 1.989 MB / 0.8637 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009468/0.3328, allocations: 450 kB / 0.8641 GB, free: 9.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004096/0.3332, allocations: 4 kB / 0.8641 GB, free: 9.906 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008022/0.334, allocations: 43.8 kB / 0.8641 GB, free: 9.863 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.3342, allocations: 31.95 kB / 0.8642 GB, free: 9.832 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-05/0.3342, allocations: 15.98 kB / 0.8642 GB, free: 9.816 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003179/0.3374, allocations: 2.036 MB / 0.8662 GB, free: 7.773 MB / 0.6856 GB Notification: Performance of sort global known variables: time 4.7e-07/0.3374, allocations: 0 / 0.8662 GB, free: 7.773 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001872/0.3393, allocations: 0.6131 MB / 0.8668 GB, free: 7.16 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.004102/0.3434, allocations: 2.59 MB / 0.8693 GB, free: 4.543 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004893/0.3483, allocations: 2.857 MB / 0.8721 GB, free: 1.672 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3483, allocations: 0 / 0.8721 GB, free: 1.672 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002083/0.3504, allocations: 1.047 MB / 0.8731 GB, free: 0.6133 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002841/0.3533, allocations: 0.6623 MB / 0.8737 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03937/0.3927, allocations: 25.32 MB / 0.8985 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001983/0.3947, allocations: 1.911 MB / 0.9003 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001133/0.3958, allocations: 337.8 kB / 0.9007 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001119/0.397, allocations: 0.7219 MB / 0.9014 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of SimCode: time 8.01e-07/0.397, allocations: 0 / 0.9014 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4367/0.8337, allocations: 61.76 MB / 0.9617 GB, free: 116.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/13.23, allocations: 10.44 kB / 0.9617 GB, free: 116.3 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)