Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.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.RadiationTemperature,fileNamePrefix="Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,fileNamePrefix="Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature",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.001294/0.001294, 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.001214/0.001214, allocations: 197.5 kB / 16.64 MB, free: 6.449 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.279/1.279, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.577/1.577, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.002237/0.002237, allocations: 66.19 kB / 0.6718 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2142, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.008343/0.2226, allocations: 7.853 MB / 0.7913 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007683/0.2303, allocations: 5.41 MB / 0.7966 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.2319, allocations: 51.69 kB / 0.7966 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004515/0.2364, allocations: 1.718 MB / 0.7983 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001867/0.2383, allocations: 0.6591 MB / 0.799 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008561/0.2392, allocations: 303.5 kB / 0.7992 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002247/0.2414, allocations: 2.043 MB / 0.8012 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007483/0.2422, allocations: 0.6957 MB / 0.8019 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008667/0.2431, allocations: 0.7581 MB / 0.8027 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001031/0.2441, allocations: 0.8707 MB / 0.8035 GB, free: 8.82 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001652/0.2443, allocations: 92 kB / 0.8036 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004434/0.2447, allocations: 215.8 kB / 0.8038 GB, free: 8.52 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003113/0.245, allocations: 366.5 kB / 0.8042 GB, free: 8.16 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007528/0.2458, allocations: 0.8777 MB / 0.805 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001968/0.2478, allocations: 2.406 MB / 0.8074 GB, free: 4.863 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2478, allocations: 0 / 0.8074 GB, free: 4.863 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2478, allocations: 0 / 0.8074 GB, free: 4.863 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.491e-05/0.2478, allocations: 0 / 0.8074 GB, free: 4.863 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.002945/0.2508, allocations: 2.342 MB / 0.8096 GB, free: 2.453 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.2508, allocations: 12.03 kB / 0.8097 GB, free: 2.441 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.262e-05/0.2509, allocations: 90.7 kB / 0.8097 GB, free: 2.344 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002426/0.2512, allocations: 218.2 kB / 0.81 GB, free: 2.129 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002243/0.2534, allocations: 1.704 MB / 0.8116 GB, free: 364 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.2535, allocations: 37 kB / 0.8117 GB, free: 328 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.082e-05/0.2535, allocations: 52 kB / 0.8117 GB, free: 276 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007676/0.2543, allocations: 0.5569 MB / 0.8122 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.2543, allocations: 0 / 0.8122 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.075e-05/0.2544, allocations: 20 kB / 0.8123 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.2544, allocations: 16 kB / 0.8123 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000677/0.2551, allocations: 0.4957 MB / 0.8128 GB, free: 15.17 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.003775/0.2589, allocations: 3.219 MB / 0.8159 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 8.498e-05/0.259, allocations: 66.47 kB / 0.816 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.037e-05/0.259, allocations: 48.88 kB / 0.816 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.2591, allocations: 0 / 0.816 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.2591, allocations: 34.56 kB / 0.8161 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.2591, allocations: 0 / 0.8161 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1): time 0.0004766/0.2596, allocations: 351 kB / 0.8164 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.2596, allocations: 63.33 kB / 0.8164 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003197/0.2628, allocations: 2.931 MB / 0.8193 GB, free: 8.168 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.2629, allocations: 25.83 kB / 0.8193 GB, free: 8.137 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007588/0.2636, allocations: 0.9463 MB / 0.8203 GB, free: 7.184 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.388e-05/0.2636, allocations: 11.98 kB / 0.8203 GB, free: 7.172 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.2638, allocations: 114 kB / 0.8204 GB, free: 7.055 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.2639, allocations: 329.9 kB / 0.8207 GB, free: 6.727 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.2641, allocations: 153 kB / 0.8208 GB, free: 6.578 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004009/0.2645, allocations: 469.2 kB / 0.8213 GB, free: 5.969 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005653/0.2651, allocations: 0.602 MB / 0.8219 GB, free: 5.219 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.2651, allocations: 4 kB / 0.8219 GB, free: 5.215 MB / 0.6387 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009266/0.266, allocations: 0.757 MB / 0.8226 GB, free: 4.449 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.2661, allocations: 11.98 kB / 0.8226 GB, free: 4.438 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.2661, allocations: 12 kB / 0.8226 GB, free: 4.426 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/0.2661, allocations: 15.94 kB / 0.8227 GB, free: 4.41 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/0.2664, allocations: 107.8 kB / 0.8228 GB, free: 4.305 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.913e-05/0.2664, allocations: 19.92 kB / 0.8228 GB, free: 4.285 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005251/0.267, allocations: 91.09 kB / 0.8229 GB, free: 4.195 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/0.267, allocations: 28 kB / 0.8229 GB, free: 4.168 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (58): * Single equations (assignments): 58 * 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.0007066/0.2677, allocations: 0.7398 MB / 0.8236 GB, free: 3.418 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/0.2679, allocations: 205.4 kB / 0.8238 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/0.2682, allocations: 227.7 kB / 0.824 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2682, allocations: 4 kB / 0.824 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.2682, allocations: 0 / 0.824 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.2682, allocations: 0 / 0.824 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009185/0.2691, allocations: 0.9431 MB / 0.825 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.2691, allocations: 4 kB / 0.825 GB, free: 1.984 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.646e-05/0.2692, allocations: 0 / 0.825 GB, free: 1.984 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.2692, allocations: 0 / 0.825 GB, free: 1.984 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.2692, allocations: 4 kB / 0.825 GB, free: 1.98 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2692, allocations: 0 / 0.825 GB, free: 1.98 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.2692, allocations: 0 / 0.825 GB, free: 1.98 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00036/0.2696, allocations: 421 kB / 0.8254 GB, free: 1.551 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004267/0.27, allocations: 366.4 kB / 0.8257 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/0.2702, allocations: 0 / 0.8257 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/0.2705, allocations: 4 kB / 0.8257 GB, free: 1.168 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.943e-05/0.2705, allocations: 0 / 0.8257 GB, free: 1.168 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.2705, allocations: 3.984 kB / 0.8257 GB, free: 1.164 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002328/0.2729, allocations: 2.062 MB / 0.8277 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2729, allocations: 0 / 0.8277 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006461/0.2735, allocations: 243.8 kB / 0.828 GB, free: 14.86 MB / 0.6544 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 (1): * Single equations (assignments): 1 * 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.0008706/0.2744, allocations: 1.016 MB / 0.829 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004297/0.2749, allocations: 316.6 kB / 0.8293 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2749, allocations: 0 / 0.8293 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.013e-05/0.2749, allocations: 41.7 kB / 0.8293 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/0.2771, allocations: 0.7163 MB / 0.83 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01841/0.2955, allocations: 16.21 MB / 0.8458 GB, free: 12.09 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/0.2968, allocations: 1.8 MB / 0.8476 GB, free: 10.25 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008111/0.2976, allocations: 321.3 kB / 0.8479 GB, free: 9.93 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006822/0.2983, allocations: 0.6789 MB / 0.8486 GB, free: 9.25 MB / 0.67 GB Notification: Performance of SimCode: time 9.72e-07/0.2983, allocations: 0 / 0.8486 GB, free: 9.25 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06674/0.3651, allocations: 43.52 MB / 0.8911 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/10.8, allocations: 9.078 kB / 0.8911 GB, free: 14.34 MB / 0.7169 GB (rm -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe >> ../files/Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.fmu > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe 2>&1)