Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, 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.00112/0.00112, allocations: 195.4 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.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.713/2.713, allocations: 472.6 MB / 0.7451 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 66.7 kB / 0.912 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.329, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.008792/0.3378, allocations: 6.947 MB / 1.075 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1851/0.523, allocations: 155.4 MB / 1.227 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002056/0.5251, allocations: 23.88 kB / 1.227 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.006427/0.5316, allocations: 1.817 MB / 1.228 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004043/0.5357, allocations: 0.8851 MB / 1.229 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003549/0.5393, allocations: 0.9873 MB / 1.23 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004328/0.5436, allocations: 2.57 MB / 1.233 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002128/0.5458, allocations: 0.9454 MB / 1.234 GB, free: 208 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002/0.5478, allocations: 0.8956 MB / 1.235 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001931/0.5497, allocations: 0.9336 MB / 1.236 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000719/0.5505, allocations: 184 kB / 1.236 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005069/0.5556, allocations: 2.231 MB / 1.238 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001524/0.5571, allocations: 1.154 MB / 1.239 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001998/0.5591, allocations: 0.9483 MB / 1.24 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007748/0.5669, allocations: 3.716 MB / 1.244 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.5669, allocations: 0 / 1.244 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5669, allocations: 0 / 1.244 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001115/0.5671, allocations: 0 / 1.244 GB, free: 6.117 MB / 0.9981 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.006233/0.5733, allocations: 2.383 MB / 1.246 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.5734, allocations: 8.031 kB / 1.246 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/0.5746, allocations: 266.4 kB / 1.246 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003585/0.5782, allocations: 2.905 MB / 1.249 GB, free: 456 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.959e-05/0.5783, allocations: 102.5 kB / 1.249 GB, free: 352 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/0.5785, allocations: 132 kB / 1.249 GB, free: 220 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6108/1.189, allocations: 1.351 MB / 1.251 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.591e-05/1.189, allocations: 0.9062 kB / 1.251 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/1.19, allocations: 54.44 kB / 1.251 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.612e-05/1.19, allocations: 31.19 kB / 1.251 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00265/1.192, allocations: 1.498 MB / 1.252 GB, free: 182.4 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.008115/1.2, allocations: 5.619 MB / 1.258 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002006/1.202, allocations: 1.117 MB / 1.259 GB, free: 181 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006909/1.203, allocations: 450.3 kB / 1.259 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.949e-05/1.203, allocations: 34.3 kB / 1.259 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001059/1.204, allocations: 0.6566 MB / 1.26 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=100): time 2.755e-06/1.204, allocations: 0 / 1.26 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100): time 0.003848/1.208, allocations: 1.661 MB / 1.261 GB, free: 180 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.526e-05/1.208, allocations: 194.3 kB / 1.262 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005205/1.213, allocations: 4.103 MB / 1.266 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002662/1.214, allocations: 48.98 kB / 1.266 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005681/1.214, allocations: 0.6559 MB / 1.266 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003047/1.215, allocations: 330.2 kB / 1.267 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001049/1.216, allocations: 0.9557 MB / 1.268 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.725e-05/1.216, allocations: 302.2 kB / 1.268 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006622/1.222, allocations: 6.332 MB / 1.274 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007073/1.229, allocations: 6.582 MB / 1.28 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008385/1.238, allocations: 7.465 MB / 1.288 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.209e-05/1.238, allocations: 0 / 1.288 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.0129/1.251, allocations: 14.17 MB / 1.302 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/1.251, allocations: 7.938 kB / 1.302 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/1.251, allocations: 4 kB / 1.302 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005997/1.252, allocations: 87.17 kB / 1.302 GB, free: 158.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/1.253, allocations: 251.6 kB / 1.302 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00187/1.255, allocations: 1.639 MB / 1.303 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/1.256, allocations: 133.9 kB / 1.304 GB, free: 156.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/1.256, allocations: 73.38 kB / 1.304 GB, free: 156 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (159): * Single equations (assignments): 146 * Array equations: 12 * 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.000806/1.257, allocations: 0.6154 MB / 1.304 GB, free: 155.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002635/1.257, allocations: 134.2 kB / 1.304 GB, free: 155.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002868/1.26, allocations: 1.482 MB / 1.306 GB, free: 154 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/1.26, allocations: 19.77 kB / 1.306 GB, free: 154 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/1.26, allocations: 0 / 1.306 GB, free: 154 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/1.26, allocations: 9.906 kB / 1.306 GB, free: 154 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/1.262, allocations: 1.307 MB / 1.307 GB, free: 153 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/1.262, allocations: 0 / 1.307 GB, free: 153 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007032/1.262, allocations: 178.7 kB / 1.307 GB, free: 152.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000439/1.263, allocations: 74.47 kB / 1.307 GB, free: 152.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.945e-05/1.263, allocations: 38.5 kB / 1.307 GB, free: 152.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001524/1.264, allocations: 1.65 MB / 1.309 GB, free: 151 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.264, allocations: 128 / 1.309 GB, free: 151 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002277/1.267, allocations: 1.275 MB / 1.31 GB, free: 149.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004462/1.267, allocations: 360.3 kB / 1.311 GB, free: 149.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/1.267, allocations: 39.69 kB / 1.311 GB, free: 149.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007672/1.268, allocations: 72.78 kB / 1.311 GB, free: 149.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/1.268, allocations: 87.42 kB / 1.311 GB, free: 149.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.258e-05/1.268, allocations: 43.78 kB / 1.311 GB, free: 149.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001823/1.27, allocations: 2.638 MB / 1.313 GB, free: 146.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/1.27, allocations: 0 / 1.313 GB, free: 146.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001982/1.272, allocations: 1.014 MB / 1.314 GB, free: 146 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.002002/1.274, allocations: 0.9506 MB / 1.315 GB, free: 145.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007665/1.282, allocations: 8.684 MB / 1.324 GB, free: 136.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/1.282, allocations: 0 / 1.324 GB, free: 136.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001145/1.283, allocations: 0.6683 MB / 1.324 GB, free: 136 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001752/1.285, allocations: 361.8 kB / 1.325 GB, free: 135.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006284/1.291, allocations: 4.841 MB / 1.33 GB, free: 130.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/1.292, allocations: 1.722 MB / 1.331 GB, free: 129.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001283/1.293, allocations: 386.4 kB / 1.332 GB, free: 128.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003526/1.294, allocations: 151.4 kB / 1.332 GB, free: 128.5 MB / 0.9981 GB Notification: Performance of SimCode: time 8.72e-07/1.294, allocations: 4 kB / 1.332 GB, free: 128.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.04597/1.34, allocations: 29.81 MB / 1.361 GB, free: 98.96 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.makefile (rm -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & ./Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1)