Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.501/2.501, allocations: 393.5 MB / 408.4 MB, free: 11.08 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.0015, allocations: 179.9 kB / 0.4901 GB, free: 2.234 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 223.1 MB / 0.7992 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 102.6 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.0003531, allocations: 7.625 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2788, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.317/4.596, allocations: 1.755 GB / 2.985 GB, free: 229.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/4.597, allocations: 96.66 kB / 2.985 GB, free: 229.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.3036/4.9, allocations: 128.5 MB / 3.11 GB, free: 100.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.547e-06/4.9, allocations: 0 / 3.11 GB, free: 100.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004025/4.901, allocations: 48 kB / 3.11 GB, free: 100.3 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.06803/4.969, allocations: 23.15 MB / 3.133 GB, free: 77.05 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.443e-05/4.969, allocations: 12.03 kB / 3.133 GB, free: 77.04 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007233/4.97, allocations: 173.2 kB / 3.133 GB, free: 76.86 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008139/4.978, allocations: 348.6 kB / 3.133 GB, free: 76.52 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.023/6.001, allocations: 94.33 MB / 3.225 GB, free: 359.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/6.001, allocations: 94.89 kB / 3.226 GB, free: 359.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002726/6.001, allocations: 116.8 kB / 3.226 GB, free: 359.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003741/6.005, allocations: 1.207 MB / 3.227 GB, free: 359.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.7e-05/6.005, allocations: 1.203 kB / 3.227 GB, free: 359.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001537/6.005, allocations: 50.75 kB / 3.227 GB, free: 359.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.231e-05/6.005, allocations: 31.59 kB / 3.227 GB, free: 359.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003861/6.009, allocations: 1.398 MB / 3.228 GB, free: 359.6 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2308/6.24, allocations: 79.23 MB / 3.306 GB, free: 340.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00276/6.243, allocations: 1.021 MB / 3.307 GB, free: 339.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001606/6.243, allocations: 41.64 kB / 3.307 GB, free: 339.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00128/6.244, allocations: 0.5565 MB / 3.307 GB, free: 339 MB / 1.167 GB Notification: Performance of pre-optimization done (n=88): time 5.31e-06/6.244, allocations: 0 / 3.307 GB, free: 339 MB / 1.167 GB Notification: Performance of matching and sorting (n=88): time 0.01078/6.255, allocations: 1.593 MB / 3.309 GB, free: 337.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/6.255, allocations: 244.3 kB / 3.309 GB, free: 337.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2015/6.457, allocations: 103.7 MB / 3.41 GB, free: 242.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003982/6.457, allocations: 49.7 kB / 3.41 GB, free: 242.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001099/6.458, allocations: 0.9733 MB / 3.411 GB, free: 241.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003488/6.459, allocations: 295.4 kB / 3.412 GB, free: 241.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-05/6.459, allocations: 19.88 kB / 3.412 GB, free: 241.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.525e-05/6.459, allocations: 348.6 kB / 3.412 GB, free: 240.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007962/6.46, allocations: 448.3 kB / 3.412 GB, free: 240.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007422/6.46, allocations: 0.5847 MB / 3.413 GB, free: 239.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007371/6.461, allocations: 0.5084 MB / 3.413 GB, free: 239.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/6.461, allocations: 3.609 kB / 3.413 GB, free: 239.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.009667/6.471, allocations: 1.397 MB / 3.415 GB, free: 238.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/6.471, allocations: 9.844 kB / 3.415 GB, free: 238.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/6.471, allocations: 4 kB / 3.415 GB, free: 238.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006923/6.472, allocations: 81.97 kB / 3.415 GB, free: 238 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/6.473, allocations: 221.6 kB / 3.415 GB, free: 237.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/6.474, allocations: 1.535 MB / 3.417 GB, free: 236.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007309/6.482, allocations: 243.4 kB / 3.417 GB, free: 236.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000372/6.482, allocations: 43.12 kB / 3.417 GB, free: 236.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (121): * Single equations (assignments): 120 * 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: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001884/6.484, allocations: 0.7845 MB / 3.418 GB, free: 235.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007173/6.491, allocations: 225.1 kB / 3.418 GB, free: 235.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00375/6.495, allocations: 1.495 MB / 3.419 GB, free: 233.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/6.495, allocations: 12 kB / 3.419 GB, free: 233.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/6.495, allocations: 0 / 3.419 GB, free: 233.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.754e-05/6.495, allocations: 7.641 kB / 3.419 GB, free: 233.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05842/6.554, allocations: 37.28 MB / 3.456 GB, free: 199.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/6.554, allocations: 4 kB / 3.456 GB, free: 199.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009067/6.555, allocations: 176.2 kB / 3.456 GB, free: 199.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000759/6.555, allocations: 86.97 kB / 3.456 GB, free: 199.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-05/6.556, allocations: 28.7 kB / 3.456 GB, free: 199.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002215/6.558, allocations: 1.56 MB / 3.457 GB, free: 197.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/6.558, allocations: 0 / 3.457 GB, free: 197.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01496/6.573, allocations: 1.297 MB / 3.459 GB, free: 196.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0734/6.646, allocations: 20.49 MB / 3.479 GB, free: 175.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008624/6.655, allocations: 28 kB / 3.479 GB, free: 175.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01255/6.667, allocations: 192.2 kB / 3.479 GB, free: 175.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006299/6.668, allocations: 64.91 kB / 3.479 GB, free: 175.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001778/6.668, allocations: 46.66 kB / 3.479 GB, free: 175.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.1101/6.778, allocations: 76.59 MB / 3.554 GB, free: 98.75 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.653e-06/6.779, allocations: 0 / 3.554 GB, free: 98.75 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01743/6.796, allocations: 6.062 MB / 3.56 GB, free: 92.88 MB / 1.167 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 (102): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * 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.01615/6.812, allocations: 3.464 MB / 3.563 GB, free: 90.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002809/6.815, allocations: 1.133 MB / 3.564 GB, free: 88.98 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/6.815, allocations: 0 / 3.564 GB, free: 88.98 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001096/6.816, allocations: 0.6165 MB / 3.565 GB, free: 88.38 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008352/6.825, allocations: 348.7 kB / 3.565 GB, free: 88.05 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01827/6.843, allocations: 6.927 MB / 3.572 GB, free: 81.31 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001157/6.844, allocations: 1.718 MB / 3.574 GB, free: 79.58 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01469/6.859, allocations: 11.1 MB / 3.585 GB, free: 68.61 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0193/6.878, allocations: 4.105 MB / 3.589 GB, free: 64.53 MB / 1.167 GB Notification: Performance of SimCode: time 1.733e-06/6.878, allocations: 2.25 kB / 3.589 GB, free: 64.53 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.115/8.993, allocations: 0.5196 GB / 4.108 GB, free: 367.4 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/8.994, allocations: 289.3 kB / 4.108 GB, free: 367 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.642/15.64, allocations: 0 / 4.108 GB, free: 367 MB / 1.182 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1)