Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.567/1.567, allocations: 251.9 MB / 266.9 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001227/0.001227, allocations: 174.7 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.782/1.782, allocations: 205.4 MB / 0.5775 GB, free: 20.3 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009138/0.0009139, allocations: 90.36 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.0003622, allocations: 10.25 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.229, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.005533/0.2345, allocations: 5.717 MB / 0.9057 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.15/0.3845, allocations: 132 MB / 1.035 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001393/0.386, allocations: 31.81 kB / 1.035 GB, free: 5.73 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004709/0.3907, allocations: 1.421 MB / 1.036 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003191/0.3939, allocations: 0.9599 MB / 1.037 GB, free: 3.344 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002875/0.3968, allocations: 0.9927 MB / 1.038 GB, free: 2.359 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003753/0.4006, allocations: 2.609 MB / 1.041 GB, free: 15.75 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001307/0.4019, allocations: 0.8934 MB / 1.041 GB, free: 14.82 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002517/0.4044, allocations: 1.234 MB / 1.043 GB, free: 13.58 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002206/0.4067, allocations: 1.017 MB / 1.044 GB, free: 12.56 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002985/0.407, allocations: 64 kB / 1.044 GB, free: 12.5 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004106/0.4111, allocations: 1.709 MB / 1.045 GB, free: 10.79 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002552/0.4137, allocations: 2.834 MB / 1.048 GB, free: 7.949 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001103/0.4148, allocations: 0.7647 MB / 1.049 GB, free: 7.176 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.6185/1.033, allocations: 8.792 MB / 1.057 GB, free: 6.594 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.033, allocations: 0 / 1.057 GB, free: 6.594 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.036e-06/1.033, allocations: 1.656 kB / 1.057 GB, free: 6.594 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002312/1.034, allocations: 1.062 kB / 1.057 GB, free: 6.594 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.01722/1.051, allocations: 6.603 MB / 1.064 GB, free: 4.039 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/1.051, allocations: 10.36 kB / 1.064 GB, free: 4.039 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008364/1.052, allocations: 205.8 kB / 1.064 GB, free: 3.996 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003369/1.055, allocations: 0.5946 MB / 1.065 GB, free: 3.715 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2746/1.33, allocations: 257.3 MB / 1.316 GB, free: 8.527 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/1.33, allocations: 130.7 kB / 1.316 GB, free: 8.398 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003981/1.33, allocations: 182.9 kB / 1.316 GB, free: 8.223 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003145/1.334, allocations: 1.667 MB / 1.318 GB, free: 6.48 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/1.334, allocations: 3.188 kB / 1.318 GB, free: 6.48 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000147/1.334, allocations: 60 kB / 1.318 GB, free: 6.422 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.118e-05/1.334, allocations: 36 kB / 1.318 GB, free: 6.387 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00281/1.337, allocations: 1.728 MB / 1.32 GB, free: 4.66 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07174/1.408, allocations: 69.59 MB / 1.388 GB, free: 15.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002826/1.411, allocations: 1.465 MB / 1.389 GB, free: 13.64 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.923e-05/1.411, allocations: 41.25 kB / 1.389 GB, free: 13.61 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001409/1.413, allocations: 0.9193 MB / 1.39 GB, free: 12.67 MB / 0.948 GB Notification: Performance of pre-optimization done (n=105): time 3.035e-06/1.413, allocations: 4 kB / 1.39 GB, free: 12.67 MB / 0.948 GB Notification: Performance of matching and sorting (n=105): time 0.008219/1.421, allocations: 3.117 MB / 1.393 GB, free: 9.496 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000241/1.421, allocations: 345.4 kB / 1.393 GB, free: 9.113 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.762/2.183, allocations: 316 MB / 1.702 GB, free: 148.1 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0006641/2.184, allocations: 65.7 kB / 1.702 GB, free: 148 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.003333/2.187, allocations: 2.198 MB / 1.704 GB, free: 146 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006136/2.188, allocations: 358.4 kB / 1.704 GB, free: 145.7 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/2.188, allocations: 36 kB / 1.704 GB, free: 145.7 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001221/2.188, allocations: 388.1 kB / 1.705 GB, free: 145.3 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001813/2.19, allocations: 1.31 MB / 1.706 GB, free: 144 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001726/2.192, allocations: 1.609 MB / 1.708 GB, free: 142.3 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001886/2.194, allocations: 1.625 MB / 1.709 GB, free: 140.7 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/2.194, allocations: 0 / 1.709 GB, free: 140.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.007358/2.201, allocations: 3.825 MB / 1.713 GB, free: 136.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001531/2.201, allocations: 175.9 kB / 1.713 GB, free: 136.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/2.201, allocations: 4.562 kB / 1.713 GB, free: 136.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005708/2.202, allocations: 98.7 kB / 1.713 GB, free: 136.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/2.203, allocations: 371.5 kB / 1.714 GB, free: 136.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00181/2.205, allocations: 1.544 MB / 1.715 GB, free: 134.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003856/2.209, allocations: 0.6177 MB / 1.716 GB, free: 133.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003437/2.209, allocations: 84.34 kB / 1.716 GB, free: 133.8 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.004062/2.213, allocations: 2.143 MB / 1.718 GB, free: 131.7 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001975/2.215, allocations: 447 kB / 1.718 GB, free: 131.2 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005445/2.221, allocations: 2.902 MB / 1.721 GB, free: 128.4 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/2.221, allocations: 12 kB / 1.721 GB, free: 128.3 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/2.221, allocations: 0 / 1.721 GB, free: 128.3 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/2.221, allocations: 7.734 kB / 1.721 GB, free: 128.3 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01456/2.235, allocations: 7.621 MB / 1.729 GB, free: 120.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/2.235, allocations: 0 / 1.729 GB, free: 120.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006761/2.236, allocations: 175.8 kB / 1.729 GB, free: 120.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004778/2.237, allocations: 92.7 kB / 1.729 GB, free: 120.4 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.688e-05/2.237, allocations: 35.97 kB / 1.729 GB, free: 120.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001574/2.238, allocations: 1.553 MB / 1.73 GB, free: 118.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/2.238, allocations: 0.9375 kB / 1.73 GB, free: 118.7 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005526/2.244, allocations: 2.617 MB / 1.733 GB, free: 116 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00407/2.248, allocations: 1.763 MB / 1.735 GB, free: 114.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001933/2.25, allocations: 27.95 kB / 1.735 GB, free: 114.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003477/2.253, allocations: 415.9 kB / 1.735 GB, free: 113.8 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002773/2.254, allocations: 80.89 kB / 1.735 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/2.254, allocations: 55.97 kB / 1.735 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.7171/2.971, allocations: 251.6 MB / 1.981 GB, free: 297.9 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.61e-07/2.971, allocations: 0 / 1.981 GB, free: 297.9 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005802/2.977, allocations: 1.327 MB / 1.982 GB, free: 296.7 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.00904/2.986, allocations: 3.977 MB / 1.986 GB, free: 293.3 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004888/2.991, allocations: 3.859 MB / 1.99 GB, free: 289.4 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/2.991, allocations: 6.344 kB / 1.99 GB, free: 289.4 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001744/2.993, allocations: 1.671 MB / 1.992 GB, free: 287.7 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003815/2.996, allocations: 0.5307 MB / 1.992 GB, free: 287.2 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02269/3.019, allocations: 17.56 MB / 2.009 GB, free: 269.3 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002627/3.022, allocations: 3.058 MB / 2.012 GB, free: 266.2 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.00411/3.026, allocations: 1.669 MB / 2.014 GB, free: 264.5 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004292/3.03, allocations: 2.323 MB / 2.016 GB, free: 262.2 MB / 0.9636 GB Notification: Performance of SimCode: time 8.62e-07/3.03, allocations: 0 / 2.016 GB, free: 262.2 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2509/3.281, allocations: 210.2 MB / 2.221 GB, free: 52.85 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/3.281, allocations: 279 kB / 2.222 GB, free: 52.5 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.99/9.272, allocations: 3.797 kB / 2.222 GB, free: 52.5 MB / 0.9636 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)