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.001262/0.001262, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001247/0.001247, allocations: 198.7 kB / 16.26 MB, free: 6.625 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.306/1.306, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.575/1.575, allocations: 292.3 MB / 0.5485 GB, free: 13.64 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.001415/0.001415, allocations: 65.77 kB / 0.6711 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1832, allocations: 114.6 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.007215/0.1904, allocations: 7.181 MB / 0.79 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006602/0.197, allocations: 5.514 MB / 0.7954 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008914/0.198, allocations: 35.81 kB / 0.7954 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003702/0.2017, allocations: 1.618 MB / 0.797 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001282/0.203, allocations: 0.5434 MB / 0.7975 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.2041, allocations: 374.3 kB / 0.7979 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002611/0.2067, allocations: 2.982 MB / 0.8008 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005994/0.2073, allocations: 0.5411 MB / 0.8013 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001266/0.2086, allocations: 1.097 MB / 0.8024 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001847/0.2105, allocations: 1.667 MB / 0.804 GB, free: 8.168 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000336/0.2108, allocations: 204 kB / 0.8042 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006/0.2114, allocations: 327.8 kB / 0.8045 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005415/0.212, allocations: 0.6972 MB / 0.8052 GB, free: 6.949 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001075/0.213, allocations: 1.217 MB / 0.8064 GB, free: 5.727 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002629/0.2157, allocations: 3.45 MB / 0.8098 GB, free: 2.266 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2157, allocations: 4 kB / 0.8098 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2157, allocations: 0 / 0.8098 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.998e-05/0.2158, allocations: 0 / 0.8098 GB, free: 2.262 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.006107/0.2219, allocations: 3.413 MB / 0.8131 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.2219, allocations: 15.95 kB / 0.8131 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001053/0.222, allocations: 90.72 kB / 0.8132 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003651/0.2224, allocations: 245.8 kB / 0.8134 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002608/0.225, allocations: 1.89 MB / 0.8153 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.773e-05/0.2251, allocations: 65 kB / 0.8153 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001891/0.2253, allocations: 88 kB / 0.8154 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.2263, allocations: 0.7325 MB / 0.8161 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.2263, allocations: 0 / 0.8161 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.319e-05/0.2264, allocations: 23.94 kB / 0.8162 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.2264, allocations: 12 kB / 0.8162 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001381/0.2278, allocations: 1.007 MB / 0.8172 GB, free: 10.54 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.009513/0.2373, allocations: 4.57 MB / 0.8216 GB, free: 5.824 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/0.2386, allocations: 0.8015 MB / 0.8224 GB, free: 5.012 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006293/0.2392, allocations: 0.5397 MB / 0.8229 GB, free: 4.469 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.419e-05/0.2393, allocations: 4.375 kB / 0.8229 GB, free: 4.465 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.2393, allocations: 42.88 kB / 0.823 GB, free: 4.414 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=45): time 2.875e-06/0.2393, allocations: 4 kB / 0.823 GB, free: 4.41 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45): time 0.0107/0.25, allocations: 3.675 MB / 0.8266 GB, free: 0.6992 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/0.2501, allocations: 67.09 kB / 0.8266 GB, free: 0.6211 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004537/0.2547, allocations: 2.964 MB / 0.8295 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0004372/0.2552, allocations: 61.69 kB / 0.8296 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001079/0.2563, allocations: 0.8552 MB / 0.8304 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002831/0.2566, allocations: 169.7 kB / 0.8306 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009594/0.2575, allocations: 331.5 kB / 0.8309 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.2577, allocations: 361.9 kB / 0.8312 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00186/0.2595, allocations: 1.386 MB / 0.8326 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002209/0.2618, allocations: 1.636 MB / 0.8342 GB, free: 8.824 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002474/0.2643, allocations: 1.968 MB / 0.8361 GB, free: 6.852 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.2643, allocations: 0 / 0.8361 GB, free: 6.852 MB / 0.6544 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.00706/0.2713, allocations: 4.133 MB / 0.8402 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.2714, allocations: 8 kB / 0.8402 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.2714, allocations: 4 kB / 0.8402 GB, free: 2.691 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003112/0.2745, allocations: 1.102 MB / 0.8412 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.2757, allocations: 227.7 kB / 0.8415 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/0.2871, allocations: 7.953 MB / 0.8492 GB, free: 9.258 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002353/0.2895, allocations: 266 kB / 0.8495 GB, free: 8.996 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003495/0.2899, allocations: 43.98 kB / 0.8495 GB, free: 8.953 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.001629/0.2915, allocations: 0.8056 MB / 0.8503 GB, free: 8.137 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004035/0.2919, allocations: 209.2 kB / 0.8505 GB, free: 7.93 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004886/0.2924, allocations: 254.7 kB / 0.8507 GB, free: 7.676 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.2924, allocations: 8 kB / 0.8508 GB, free: 7.668 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.208e-05/0.2925, allocations: 4.094 kB / 0.8508 GB, free: 7.664 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.2925, allocations: 11.92 kB / 0.8508 GB, free: 7.652 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/0.294, allocations: 1.252 MB / 0.852 GB, free: 6.352 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.294, allocations: 3.984 kB / 0.852 GB, free: 6.348 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.342e-05/0.2941, allocations: 4 kB / 0.852 GB, free: 6.344 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002915/0.297, allocations: 1.031 MB / 0.853 GB, free: 5.309 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.714e-05/0.2971, allocations: 8 kB / 0.853 GB, free: 5.301 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01101/0.3081, allocations: 7.937 MB / 0.8608 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3082, allocations: 4 kB / 0.8608 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003785/0.3119, allocations: 1.993 MB / 0.8627 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009323/0.3129, allocations: 450 kB / 0.8631 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000323/0.3132, allocations: 7.984 kB / 0.8632 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007047/0.3139, allocations: 39.81 kB / 0.8632 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.3141, allocations: 39.94 kB / 0.8632 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.609e-05/0.3142, allocations: 12 kB / 0.8632 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00282/0.317, allocations: 2.052 MB / 0.8652 GB, free: 8.578 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.317, allocations: 0 / 0.8652 GB, free: 8.578 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001603/0.3186, allocations: 0.6209 MB / 0.8659 GB, free: 7.957 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.004061/0.3227, allocations: 2.608 MB / 0.8684 GB, free: 5.32 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004847/0.3275, allocations: 2.861 MB / 0.8712 GB, free: 2.445 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3276, allocations: 0 / 0.8712 GB, free: 2.445 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002082/0.3296, allocations: 1.047 MB / 0.8722 GB, free: 1.387 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002687/0.3323, allocations: 0.6812 MB / 0.8729 GB, free: 0.7227 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04623/0.3786, allocations: 28.67 MB / 0.9009 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00172/0.3804, allocations: 1.916 MB / 0.9027 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001126/0.3815, allocations: 387.4 kB / 0.9031 GB, free: 328 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/0.3825, allocations: 0.7337 MB / 0.9038 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of SimCode: time 1.122e-06/0.3826, allocations: 0 / 0.9038 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.016/1.399, allocations: 62.58 MB / 0.9649 GB, free: 111.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/1.399, allocations: 293.8 kB / 0.9652 GB, free: 110.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.893/4.292, allocations: 3.375 kB / 0.9652 GB, free: 110.8 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)