Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.598/1.598, allocations: 288.2 MB / 303.2 MB, free: 8.059 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.001029/0.001029, allocations: 177.1 kB / 371.8 MB, free: 10.29 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.707/1.707, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.0008298/0.0008297, allocations: 98.86 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004491/0.0004493, allocations: 12.91 kB / 0.8669 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2085, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.005573/0.2141, allocations: 5.709 MB / 0.9851 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6042/0.8184, allocations: 132 MB / 1.114 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001569/0.82, allocations: 32.25 kB / 1.114 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004958/0.825, allocations: 1.421 MB / 1.115 GB, free: 1.859 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003289/0.8283, allocations: 0.952 MB / 1.116 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003227/0.8315, allocations: 0.9997 MB / 1.117 GB, free: 1.746 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004299/0.8358, allocations: 2.613 MB / 1.12 GB, free: 1.664 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001546/0.8374, allocations: 0.8853 MB / 1.121 GB, free: 1.48 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003507/0.8409, allocations: 1.237 MB / 1.122 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002161/0.8431, allocations: 1.017 MB / 1.123 GB, free: 1.039 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003168/0.8434, allocations: 61.81 kB / 1.123 GB, free: 1.039 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004248/0.8477, allocations: 1.713 MB / 1.125 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.002705/0.8504, allocations: 2.835 MB / 1.127 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00134/0.8518, allocations: 0.7644 MB / 1.128 GB, free: 16.38 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01086/0.8626, allocations: 8.796 MB / 1.137 GB, free: 12.25 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.8627, allocations: 5.859 kB / 1.137 GB, free: 12.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.475e-06/0.8627, allocations: 0 / 1.137 GB, free: 12.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002592/0.863, allocations: 0 / 1.137 GB, free: 12.25 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 362 * Number of variables: 362 Notification: Performance of Generate backend data structure: time 0.02147/0.8844, allocations: 6.608 MB / 1.143 GB, free: 8.672 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.8845, allocations: 9.156 kB / 1.143 GB, free: 8.672 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007606/0.8853, allocations: 217.3 kB / 1.143 GB, free: 8.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004631/0.8899, allocations: 0.5875 MB / 1.144 GB, free: 8.281 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2453/1.135, allocations: 255.5 MB / 1.394 GB, free: 11.77 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001715/1.136, allocations: 130.7 kB / 1.394 GB, free: 11.64 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006349/1.136, allocations: 181.8 kB / 1.394 GB, free: 11.47 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003646/1.14, allocations: 1.669 MB / 1.395 GB, free: 9.719 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/1.14, allocations: 4 kB / 1.395 GB, free: 9.715 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001857/1.14, allocations: 60 kB / 1.395 GB, free: 9.656 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.798e-05/1.14, allocations: 32 kB / 1.396 GB, free: 9.625 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002934/1.143, allocations: 1.723 MB / 1.397 GB, free: 7.895 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5295/1.673, allocations: 69.58 MB / 1.465 GB, free: 365.3 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003011/1.676, allocations: 1.468 MB / 1.467 GB, free: 364.7 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/1.676, allocations: 38.02 kB / 1.467 GB, free: 364.7 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001443/1.677, allocations: 0.925 MB / 1.468 GB, free: 363.9 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=105): time 4.258e-06/1.677, allocations: 0.9688 kB / 1.468 GB, free: 363.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=105): time 0.009305/1.687, allocations: 3.117 MB / 1.471 GB, free: 361.2 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001915/1.687, allocations: 344.5 kB / 1.471 GB, free: 360.9 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2979/1.985, allocations: 316 MB / 1.779 GB, free: 47.35 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0006046/1.985, allocations: 61.7 kB / 1.78 GB, free: 47.29 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.003263/1.989, allocations: 2.212 MB / 1.782 GB, free: 45.14 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004979/1.989, allocations: 344.5 kB / 1.782 GB, free: 44.83 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/1.989, allocations: 40 kB / 1.782 GB, free: 44.79 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001159/1.989, allocations: 387.8 kB / 1.782 GB, free: 44.41 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001669/1.991, allocations: 1.314 MB / 1.784 GB, free: 43.1 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001705/1.993, allocations: 1.603 MB / 1.785 GB, free: 41.42 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001798/1.995, allocations: 1.622 MB / 1.787 GB, free: 39.8 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/1.995, allocations: 7.875 kB / 1.787 GB, free: 39.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.008355/2.003, allocations: 3.823 MB / 1.791 GB, free: 35.97 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001647/2.003, allocations: 165.6 kB / 1.791 GB, free: 35.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/2.003, allocations: 9.969 kB / 1.791 GB, free: 35.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000624/2.004, allocations: 97.52 kB / 1.791 GB, free: 35.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/2.005, allocations: 378.6 kB / 1.791 GB, free: 35.34 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/2.007, allocations: 1.539 MB / 1.793 GB, free: 33.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006152/2.013, allocations: 0.6138 MB / 1.793 GB, free: 33.05 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005197/2.014, allocations: 91.92 kB / 1.793 GB, free: 32.96 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 212 * Array equations: 0 * Algorithm blocks: 1 * 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: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.006291/2.02, allocations: 2.147 MB / 1.795 GB, free: 30.8 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003903/2.024, allocations: 446.1 kB / 1.796 GB, free: 30.36 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006004/2.03, allocations: 2.89 MB / 1.799 GB, free: 27.48 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/2.03, allocations: 11.95 kB / 1.799 GB, free: 27.46 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/2.03, allocations: 0 / 1.799 GB, free: 27.46 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/2.03, allocations: 3.984 kB / 1.799 GB, free: 27.46 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01738/2.048, allocations: 7.63 MB / 1.806 GB, free: 19.78 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/2.048, allocations: 0 / 1.806 GB, free: 19.78 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007298/2.049, allocations: 183.2 kB / 1.806 GB, free: 19.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004906/2.049, allocations: 84.72 kB / 1.806 GB, free: 19.52 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.374e-05/2.049, allocations: 43.72 kB / 1.807 GB, free: 19.48 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001477/2.051, allocations: 1.549 MB / 1.808 GB, free: 17.79 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/2.051, allocations: 4 kB / 1.808 GB, free: 17.79 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006604/2.057, allocations: 2.605 MB / 1.811 GB, free: 15.15 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005871/2.063, allocations: 1.767 MB / 1.812 GB, free: 13.36 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004131/2.067, allocations: 28.11 kB / 1.812 GB, free: 13.33 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005543/2.073, allocations: 419.9 kB / 1.813 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004356/2.073, allocations: 86.05 kB / 1.813 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/2.074, allocations: 51.98 kB / 1.813 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.7084/2.782, allocations: 251.6 MB / 2.059 GB, free: 158 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.71e-07/2.782, allocations: 0.875 kB / 2.059 GB, free: 158 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.007642/2.79, allocations: 1.327 MB / 2.06 GB, free: 156.8 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01099/2.801, allocations: 3.966 MB / 2.064 GB, free: 153.4 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.005124/2.806, allocations: 3.861 MB / 2.067 GB, free: 149.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.942e-06/2.806, allocations: 0 / 2.067 GB, free: 149.5 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001919/2.808, allocations: 1.678 MB / 2.069 GB, free: 147.8 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006115/2.814, allocations: 0.5291 MB / 2.07 GB, free: 147.3 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03039/2.844, allocations: 17.56 MB / 2.087 GB, free: 129.4 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004016/2.848, allocations: 3.06 MB / 2.09 GB, free: 126.3 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.005839/2.854, allocations: 1.676 MB / 2.091 GB, free: 124.6 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005809/2.86, allocations: 2.323 MB / 2.094 GB, free: 122.3 MB / 0.9636 GB Notification: Performance of SimCode: time 7.62e-07/2.86, allocations: 0 / 2.094 GB, free: 122.3 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7684/3.629, allocations: 210.2 MB / 2.299 GB, free: 297 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002643/3.629, allocations: 282.8 kB / 2.299 GB, free: 296.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.959/9.588, allocations: 4 kB / 2.299 GB, free: 296.7 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)