Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,fileNamePrefix="Buildings_8_0_0_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,fileNamePrefix="Buildings_8_0_0_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.664/1.664, allocations: 287.4 MB / 302.5 MB, free: 8.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001359/0.00136, allocations: 178.2 kB / 371.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.4 MB / 0.6298 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009571/0.0009569, allocations: 105.7 kB / 0.7431 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003905, allocations: 11.34 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2148, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.005786/0.2206, allocations: 6.354 MB / 0.9849 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007231/0.2279, allocations: 5.121 MB / 0.9899 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001738/0.2297, allocations: 39.75 kB / 0.99 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.004588/0.2343, allocations: 1.38 MB / 0.9913 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0025/0.2368, allocations: 0.5588 MB / 0.9919 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.2384, allocations: 322.1 kB / 0.9922 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003606/0.242, allocations: 2.843 MB / 0.995 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/0.2431, allocations: 0.4972 MB / 0.9954 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00247/0.2456, allocations: 0.9883 MB / 0.9964 GB, free: 9.918 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002276/0.2479, allocations: 1.554 MB / 0.9979 GB, free: 8.359 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.001055/0.249, allocations: 120 kB / 0.998 GB, free: 8.242 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001674/0.2506, allocations: 227.8 kB / 0.9983 GB, free: 8.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001048/0.2517, allocations: 0.6152 MB / 0.9989 GB, free: 7.402 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001119/0.2528, allocations: 440.5 kB / 0.9993 GB, free: 6.965 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002223/0.2551, allocations: 2.564 MB / 1.002 GB, free: 4.395 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.2551, allocations: 0 / 1.002 GB, free: 4.395 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.993e-06/0.2551, allocations: 0 / 1.002 GB, free: 4.395 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.54e-05/0.2551, allocations: 7.938 kB / 1.002 GB, free: 4.387 MB / 0.6198 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.006367/0.2615, allocations: 3.547 MB / 1.005 GB, free: 0.7695 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.2616, allocations: 12.03 kB / 1.005 GB, free: 0.7578 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001517/0.2617, allocations: 86.7 kB / 1.005 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003951/0.2621, allocations: 245.9 kB / 1.006 GB, free: 432 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003006/0.2652, allocations: 1.879 MB / 1.007 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.348e-05/0.2652, allocations: 65 kB / 1.007 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002048/0.2654, allocations: 88 kB / 1.008 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.2665, allocations: 0.7286 MB / 1.008 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.2666, allocations: 0 / 1.008 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.944e-05/0.2666, allocations: 23.94 kB / 1.008 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.2667, allocations: 12 kB / 1.008 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001527/0.2682, allocations: 0.9992 MB / 1.009 GB, free: 12.56 MB / 0.6355 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.01202/0.2802, allocations: 5.15 MB / 1.014 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.2816, allocations: 0.8054 MB / 1.015 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006724/0.2823, allocations: 0.5397 MB / 1.016 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.575e-05/0.2824, allocations: 4.375 kB / 1.016 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.2824, allocations: 42.88 kB / 1.016 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=45): time 3.196e-06/0.2824, allocations: 0 / 1.016 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of matching and sorting (n=45): time 0.0107/0.2931, allocations: 3.724 MB / 1.019 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.2932, allocations: 67.09 kB / 1.019 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004901/0.2981, allocations: 2.949 MB / 1.022 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0005684/0.2987, allocations: 49.7 kB / 1.022 GB, free: 15 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009402/0.2997, allocations: 0.8629 MB / 1.023 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002165/0.2999, allocations: 165.7 kB / 1.023 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.3, allocations: 32 kB / 1.023 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3002, allocations: 357.9 kB / 1.024 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001822/0.302, allocations: 1.382 MB / 1.025 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002202/0.3042, allocations: 1.628 MB / 1.027 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002509/0.3067, allocations: 1.953 MB / 1.029 GB, free: 8.602 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.3067, allocations: 4 kB / 1.029 GB, free: 8.598 MB / 0.6511 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.00716/0.3139, allocations: 4.125 MB / 1.033 GB, free: 4.457 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.314, allocations: 8 kB / 1.033 GB, free: 4.449 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.314, allocations: 0 / 1.033 GB, free: 4.449 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003138/0.3172, allocations: 1.098 MB / 1.034 GB, free: 3.348 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.3185, allocations: 227.7 kB / 1.034 GB, free: 3.125 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01116/0.3297, allocations: 7.34 MB / 1.041 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002421/0.3322, allocations: 266 kB / 1.041 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002751/0.3325, allocations: 44 kB / 1.041 GB, free: 11.34 MB / 0.6667 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 (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.001403/0.3339, allocations: 0.7979 MB / 1.042 GB, free: 10.53 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005042/0.3344, allocations: 221 kB / 1.042 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004303/0.3348, allocations: 254.8 kB / 1.043 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.3348, allocations: 12.05 kB / 1.043 GB, free: 10.04 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-05/0.3349, allocations: 11.94 kB / 1.043 GB, free: 10.03 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.3349, allocations: 3.984 kB / 1.043 GB, free: 10.03 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00159/0.3365, allocations: 1.255 MB / 1.044 GB, free: 8.723 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.3365, allocations: 0 / 1.044 GB, free: 8.723 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.658e-05/0.3366, allocations: 8 kB / 1.044 GB, free: 8.715 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002829/0.3394, allocations: 1.019 MB / 1.045 GB, free: 7.691 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.698e-05/0.3395, allocations: 8 kB / 1.045 GB, free: 7.684 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01181/0.3513, allocations: 7.351 MB / 1.052 GB, free: 192 kB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.3513, allocations: 4 kB / 1.052 GB, free: 188 kB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004429/0.3558, allocations: 1.973 MB / 1.054 GB, free: 14.19 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001229/0.357, allocations: 453.9 kB / 1.054 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005557/0.3576, allocations: 8 kB / 1.054 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.3586, allocations: 39.86 kB / 1.054 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.3588, allocations: 35.89 kB / 1.054 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-05/0.3589, allocations: 12 kB / 1.054 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003167/0.362, allocations: 2.036 MB / 1.056 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3621, allocations: 0 / 1.056 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001994/0.3641, allocations: 0.6248 MB / 1.057 GB, free: 10.96 MB / 0.6823 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 (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.004148/0.3682, allocations: 2.581 MB / 1.06 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00523/0.3735, allocations: 2.869 MB / 1.062 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.3735, allocations: 0 / 1.062 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002216/0.3757, allocations: 1.063 MB / 1.063 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002869/0.3786, allocations: 0.6311 MB / 1.064 GB, free: 3.762 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.372/0.7506, allocations: 20.19 MB / 1.084 GB, free: 77.46 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001631/0.7523, allocations: 1.918 MB / 1.086 GB, free: 76.56 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00127/0.7536, allocations: 328.2 kB / 1.086 GB, free: 76.54 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008261/0.7544, allocations: 0.7254 MB / 1.087 GB, free: 75.95 MB / 0.6823 GB Notification: Performance of SimCode: time 1.132e-06/0.7544, allocations: 1.094 kB / 1.087 GB, free: 75.95 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9491/1.704, allocations: 60.15 MB / 1.145 GB, free: 36.36 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002714/1.704, allocations: 283.9 kB / 1.146 GB, free: 36 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.815/5.519, allocations: 2.391 kB / 1.146 GB, free: 36 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.fmu > Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1)