Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",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.001228/0.001232, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001153/0.001153, allocations: 192.5 kB / 16.25 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.226/1.226, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.169/2.169, allocations: 390.2 MB / 0.6644 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.91 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5142/0.5155, allocations: 140.4 MB / 0.9492 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.005849/0.5214, allocations: 5.721 MB / 0.9548 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1516/0.673, allocations: 153 MB / 1.104 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.6741, allocations: 23.88 kB / 1.104 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004076/0.6782, allocations: 1.624 MB / 1.106 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002294/0.6806, allocations: 0.7063 MB / 1.107 GB, free: 388 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002246/0.6828, allocations: 0.8745 MB / 1.107 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002465/0.6853, allocations: 2.373 MB / 1.11 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001287/0.6866, allocations: 0.9797 MB / 1.111 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001189/0.6878, allocations: 0.8758 MB / 1.112 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/0.689, allocations: 0.9258 MB / 1.112 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003912/0.6894, allocations: 184 kB / 1.113 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003121/0.6926, allocations: 2.243 MB / 1.115 GB, free: 7.875 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001019/0.6936, allocations: 1.22 MB / 1.116 GB, free: 6.652 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001632/0.6952, allocations: 1.384 MB / 1.117 GB, free: 5.262 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005628/0.7009, allocations: 5.318 MB / 1.123 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.7009, allocations: 0 / 1.123 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of FrontEnd: time 9.81e-07/0.7009, allocations: 0 / 1.123 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.806e-05/0.701, allocations: 0 / 1.123 GB, free: 15.93 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.007404/0.7084, allocations: 3.936 MB / 1.126 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.7084, allocations: 8.031 kB / 1.126 GB, free: 11.92 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001955/0.7086, allocations: 198.3 kB / 1.127 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.7098, allocations: 349.3 kB / 1.127 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07419/0.784, allocations: 87.61 MB / 1.212 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.832e-05/0.7842, allocations: 106.5 kB / 1.213 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002924/0.7845, allocations: 132 kB / 1.213 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002555/0.787, allocations: 1.36 MB / 1.214 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.7871, allocations: 0 / 1.214 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/0.7872, allocations: 55.98 kB / 1.214 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.349e-05/0.7872, allocations: 32 kB / 1.214 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002263/0.7895, allocations: 1.504 MB / 1.216 GB, free: 428 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01938/0.8089, allocations: 23.43 MB / 1.238 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002124/0.811, allocations: 1.12 MB / 1.24 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007073/0.8118, allocations: 445.6 kB / 1.24 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.921e-05/0.8119, allocations: 45.08 kB / 1.24 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001062/0.8129, allocations: 0.6489 MB / 1.241 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=100): time 2.345e-06/0.813, allocations: 0 / 1.241 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100): time 0.004229/0.8172, allocations: 1.741 MB / 1.242 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.92e-05/0.8173, allocations: 192.9 kB / 1.243 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4518/1.269, allocations: 99.41 MB / 1.34 GB, free: 210.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002467/1.269, allocations: 49.7 kB / 1.34 GB, free: 210.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007496/1.27, allocations: 1.064 MB / 1.341 GB, free: 209.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002013/1.27, allocations: 321.2 kB / 1.341 GB, free: 209.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002903/1.271, allocations: 244.8 kB / 1.341 GB, free: 208.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.659e-05/1.271, allocations: 353.9 kB / 1.342 GB, free: 208.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006792/1.271, allocations: 486.4 kB / 1.342 GB, free: 208.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007324/1.272, allocations: 0.6312 MB / 1.343 GB, free: 207.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/1.273, allocations: 0.9976 MB / 1.344 GB, free: 206.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/1.273, allocations: 0 / 1.344 GB, free: 206.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002833/1.276, allocations: 1.507 MB / 1.345 GB, free: 204.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/1.276, allocations: 4 kB / 1.345 GB, free: 204.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/1.276, allocations: 4.875 kB / 1.345 GB, free: 204.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005677/1.277, allocations: 85.98 kB / 1.345 GB, free: 204.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008367/1.278, allocations: 240.5 kB / 1.345 GB, free: 204.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/1.279, allocations: 1.635 MB / 1.347 GB, free: 202.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/1.281, allocations: 270.4 kB / 1.347 GB, free: 202.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-05/1.281, allocations: 49.06 kB / 1.347 GB, free: 202.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 18 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 137 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00081/1.282, allocations: 0.8096 MB / 1.348 GB, free: 201.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004174/1.282, allocations: 221.2 kB / 1.348 GB, free: 201.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002638/1.285, allocations: 1.634 MB / 1.35 GB, free: 199.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/1.285, allocations: 15.94 kB / 1.35 GB, free: 199.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/1.285, allocations: 0 / 1.35 GB, free: 199.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/1.285, allocations: 3.984 kB / 1.35 GB, free: 199.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001498/1.286, allocations: 1.959 MB / 1.352 GB, free: 197.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/1.286, allocations: 0 / 1.352 GB, free: 197.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000689/1.287, allocations: 187.7 kB / 1.352 GB, free: 197.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004043/1.287, allocations: 68.33 kB / 1.352 GB, free: 197.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.516e-05/1.287, allocations: 35.97 kB / 1.352 GB, free: 197.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001388/1.289, allocations: 1.655 MB / 1.354 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/1.289, allocations: 3.75 kB / 1.354 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/1.291, allocations: 1.361 MB / 1.355 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008052/1.292, allocations: 0.763 MB / 1.356 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003466/1.292, allocations: 23.94 kB / 1.356 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/1.293, allocations: 188 kB / 1.356 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/1.293, allocations: 88.88 kB / 1.356 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.082e-05/1.294, allocations: 50.92 kB / 1.356 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.04568/1.339, allocations: 79.4 MB / 1.434 GB, free: 113.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.3e-07/1.339, allocations: 0 / 1.434 GB, free: 113.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002301/1.342, allocations: 1 MB / 1.435 GB, free: 113 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005088/1.347, allocations: 2.754 MB / 1.437 GB, free: 110.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002823/1.349, allocations: 1.543 MB / 1.439 GB, free: 109 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.349, allocations: 4 kB / 1.439 GB, free: 109 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009217/1.35, allocations: 0.6602 MB / 1.44 GB, free: 108.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001864/1.352, allocations: 406.4 kB / 1.44 GB, free: 107.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6371/1.989, allocations: 411.4 MB / 1.842 GB, free: 254 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001501/1.991, allocations: 1.714 MB / 1.843 GB, free: 252.2 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.002944/1.994, allocations: 0.7682 MB / 1.844 GB, free: 251.6 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00204/1.996, allocations: 1.101 MB / 1.845 GB, free: 250.5 MB / 1.123 GB Notification: Performance of SimCode: time 9.01e-07/1.996, allocations: 3.812 kB / 1.845 GB, free: 250.5 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.682/4.678, allocations: 106.8 MB / 1.949 GB, free: 144.8 MB / 1.123 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001987/4.678, allocations: 301.7 kB / 1.95 GB, free: 144.5 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.4/8.078, allocations: 0 / 1.95 GB, free: 144.5 MB / 1.123 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1)