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/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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.307/1.307, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.646/2.646, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 64.88 kB / 0.8992 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.256, allocations: 157.4 MB / 1.053 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.007432/0.2635, allocations: 6.969 MB / 1.06 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1488/0.4123, allocations: 155.4 MB / 1.211 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/0.4135, allocations: 23.88 kB / 1.211 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003801/0.4174, allocations: 1.813 MB / 1.213 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002279/0.4197, allocations: 0.8934 MB / 1.214 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002209/0.4219, allocations: 0.9763 MB / 1.215 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002509/0.4244, allocations: 2.572 MB / 1.218 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/0.4258, allocations: 0.9415 MB / 1.218 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001312/0.4271, allocations: 0.8955 MB / 1.219 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001399/0.4285, allocations: 0.9259 MB / 1.22 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004514/0.4289, allocations: 184 kB / 1.22 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003296/0.4322, allocations: 2.239 MB / 1.223 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001051/0.4333, allocations: 1.216 MB / 1.224 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001916/0.4352, allocations: 1.426 MB / 1.225 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005039/0.4403, allocations: 5.384 MB / 1.23 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4403, allocations: 0 / 1.23 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4403, allocations: 0 / 1.23 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.317e-05/0.4403, allocations: 0 / 1.23 GB, free: 1.734 MB / 0.9825 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.005782/0.4461, allocations: 3.972 MB / 1.234 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.4462, allocations: 8.625 kB / 1.234 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001898/0.4464, allocations: 190.3 kB / 1.235 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.4476, allocations: 349.3 kB / 1.235 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5491/0.9967, allocations: 87.61 MB / 1.32 GB, free: 148.6 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.564e-05/0.9968, allocations: 99.44 kB / 1.32 GB, free: 148.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002931/0.9971, allocations: 140 kB / 1.321 GB, free: 148.4 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002493/0.9996, allocations: 1.363 MB / 1.322 GB, free: 147.1 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/0.9996, allocations: 0 / 1.322 GB, free: 147.1 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/0.9998, allocations: 56 kB / 1.322 GB, free: 147 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/0.9998, allocations: 32 kB / 1.322 GB, free: 147 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002105/1.002, allocations: 1.496 MB / 1.324 GB, free: 145.5 MB / 0.9981 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.01553/1.017, allocations: 23.91 MB / 1.347 GB, free: 121.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001792/1.019, allocations: 1.116 MB / 1.348 GB, free: 120.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006135/1.02, allocations: 443.6 kB / 1.348 GB, free: 119.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.536e-05/1.02, allocations: 48.8 kB / 1.348 GB, free: 119.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008741/1.021, allocations: 0.6528 MB / 1.349 GB, free: 119.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=100): time 3.617e-06/1.021, allocations: 2.109 kB / 1.349 GB, free: 119.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100): time 0.004108/1.025, allocations: 1.737 MB / 1.351 GB, free: 117.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.142e-05/1.025, allocations: 192.9 kB / 1.351 GB, free: 117.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07459/1.1, allocations: 99.41 MB / 1.448 GB, free: 17.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002486/1.1, allocations: 49.7 kB / 1.448 GB, free: 17.65 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009365/1.101, allocations: 1.06 MB / 1.449 GB, free: 16.58 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003196/1.101, allocations: 331.2 kB / 1.449 GB, free: 16.25 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003508/1.102, allocations: 246.8 kB / 1.45 GB, free: 16.01 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.091e-05/1.102, allocations: 349.9 kB / 1.45 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007021/1.102, allocations: 490.4 kB / 1.45 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000765/1.103, allocations: 0.6323 MB / 1.451 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/1.104, allocations: 1.002 MB / 1.452 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/1.104, allocations: 3.938 kB / 1.452 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002889/1.107, allocations: 1.499 MB / 1.454 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/1.107, allocations: 4 kB / 1.454 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/1.107, allocations: 4 kB / 1.454 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005515/1.108, allocations: 80.84 kB / 1.454 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008118/1.109, allocations: 243.6 kB / 1.454 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05062/1.159, allocations: 1.627 MB / 1.455 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/1.162, allocations: 276.8 kB / 1.456 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003136/1.162, allocations: 51.97 kB / 1.456 GB, free: 9.566 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.001692/1.164, allocations: 0.8091 MB / 1.457 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001161/1.165, allocations: 221.1 kB / 1.457 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003387/1.168, allocations: 1.629 MB / 1.458 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/1.168, allocations: 12 kB / 1.458 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.168, allocations: 0 / 1.458 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/1.168, allocations: 7.969 kB / 1.458 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003125/1.172, allocations: 1.963 MB / 1.46 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/1.172, allocations: 0 / 1.46 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006957/1.172, allocations: 184.5 kB / 1.46 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004362/1.173, allocations: 72.72 kB / 1.461 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.381e-05/1.173, allocations: 35.97 kB / 1.461 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/1.174, allocations: 1.655 MB / 1.462 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/1.174, allocations: 4.062 kB / 1.462 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002791/1.177, allocations: 1.36 MB / 1.463 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/1.178, allocations: 0.7666 MB / 1.464 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006085/1.179, allocations: 24 kB / 1.464 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/1.18, allocations: 182.2 kB / 1.464 GB, free: 420 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/1.181, allocations: 93 kB / 1.465 GB, free: 328 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.185e-05/1.181, allocations: 47.97 kB / 1.465 GB, free: 280 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.06114/1.242, allocations: 79.4 MB / 1.542 GB, free: 0.8477 MB / 1.076 GB Notification: Performance of sort global known variables: time 6.21e-07/1.242, allocations: 0 / 1.542 GB, free: 0.8477 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002422/1.244, allocations: 1.019 MB / 1.543 GB, free: 15.9 MB / 1.092 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.005312/1.25, allocations: 2.771 MB / 1.546 GB, free: 13.39 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003098/1.253, allocations: 1.533 MB / 1.547 GB, free: 11.84 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.253, allocations: 4 kB / 1.547 GB, free: 11.84 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/1.254, allocations: 0.6642 MB / 1.548 GB, free: 11.16 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001894/1.256, allocations: 430.2 kB / 1.548 GB, free: 10.76 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7009/1.957, allocations: 410.6 MB / 1.949 GB, free: 234.3 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001275/1.958, allocations: 1.717 MB / 1.951 GB, free: 232.6 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001913/1.96, allocations: 0.7737 MB / 1.952 GB, free: 231.9 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001465/1.961, allocations: 1.108 MB / 1.953 GB, free: 230.8 MB / 1.248 GB Notification: Performance of SimCode: time 5.31e-07/1.961, allocations: 0 / 1.953 GB, free: 230.8 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7157/2.677, allocations: 107.7 MB / 2.058 GB, free: 124.4 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.94/20.62, allocations: 14.61 kB / 2.058 GB, free: 124.4 MB / 1.248 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/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)