Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_10_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.00157/0.00157, allocations: 108 kB / 15.61 MB, free: 152 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.001796/0.001796, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.247/1.247, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.421/2.421, allocations: 437.1 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 68.12 kB / 0.8694 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.497/0.4984, allocations: 151.6 MB / 1.017 GB, free: 2.598 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.00805/0.5064, allocations: 6.984 MB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1487/0.6552, allocations: 155.4 MB / 1.176 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001436/0.6567, allocations: 23.88 kB / 1.176 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004038/0.6608, allocations: 1.801 MB / 1.178 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00226/0.663, allocations: 0.8973 MB / 1.179 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002148/0.6652, allocations: 0.9872 MB / 1.18 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002513/0.6677, allocations: 2.567 MB / 1.182 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.6689, allocations: 0.9376 MB / 1.183 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.6701, allocations: 0.8994 MB / 1.184 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001238/0.6713, allocations: 0.9237 MB / 1.185 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003491/0.6717, allocations: 184 kB / 1.185 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003247/0.6749, allocations: 2.239 MB / 1.187 GB, free: 4.09 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0009804/0.6759, allocations: 1.212 MB / 1.188 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001665/0.6776, allocations: 1.43 MB / 1.19 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005305/0.6829, allocations: 5.376 MB / 1.195 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.6829, allocations: 0 / 1.195 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.266e-06/0.683, allocations: 4 kB / 1.195 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.153e-05/0.683, allocations: 3.938 kB / 1.195 GB, free: 12.04 MB / 0.9512 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.006284/0.6893, allocations: 3.964 MB / 1.199 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.6893, allocations: 15.97 kB / 1.199 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002027/0.6895, allocations: 194.2 kB / 1.199 GB, free: 7.797 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/0.6909, allocations: 349.3 kB / 1.199 GB, free: 7.453 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4976/1.188, allocations: 87.6 MB / 1.285 GB, free: 217.4 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.056e-05/1.189, allocations: 103.7 kB / 1.285 GB, free: 217.3 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002541/1.189, allocations: 132.6 kB / 1.285 GB, free: 217.2 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002267/1.191, allocations: 1.359 MB / 1.286 GB, free: 216 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/1.191, allocations: 3.938 kB / 1.286 GB, free: 216 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/1.191, allocations: 56.56 kB / 1.287 GB, free: 215.9 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/1.191, allocations: 32 kB / 1.287 GB, free: 215.9 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002031/1.193, allocations: 1.502 MB / 1.288 GB, free: 214.7 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.01503/1.208, allocations: 23.91 MB / 1.311 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/1.21, allocations: 1.119 MB / 1.312 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006043/1.211, allocations: 439.7 kB / 1.313 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.677e-05/1.211, allocations: 51.42 kB / 1.313 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008556/1.212, allocations: 0.6523 MB / 1.314 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=100): time 2.785e-06/1.212, allocations: 0 / 1.314 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100): time 0.00396/1.216, allocations: 1.741 MB / 1.315 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/1.216, allocations: 192.9 kB / 1.315 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07595/1.292, allocations: 99.41 MB / 1.413 GB, free: 86.96 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002308/1.292, allocations: 49.7 kB / 1.413 GB, free: 86.91 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009094/1.293, allocations: 1.065 MB / 1.414 GB, free: 85.84 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002906/1.293, allocations: 319.4 kB / 1.414 GB, free: 85.52 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003557/1.294, allocations: 242.7 kB / 1.414 GB, free: 85.28 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.704e-05/1.294, allocations: 353.9 kB / 1.415 GB, free: 84.93 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008929/1.295, allocations: 490.4 kB / 1.415 GB, free: 84.45 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009646/1.296, allocations: 0.6285 MB / 1.416 GB, free: 83.78 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/1.297, allocations: 1.006 MB / 1.417 GB, free: 82.76 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/1.297, allocations: 4.812 kB / 1.417 GB, free: 82.76 MB / 0.9981 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003273/1.3, allocations: 1.499 MB / 1.418 GB, free: 81.25 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/1.3, allocations: 4 kB / 1.418 GB, free: 81.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/1.3, allocations: 4 kB / 1.418 GB, free: 81.24 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005891/1.301, allocations: 80.88 kB / 1.418 GB, free: 81.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008893/1.302, allocations: 247.6 kB / 1.418 GB, free: 80.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001663/1.304, allocations: 1.638 MB / 1.42 GB, free: 79.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/1.305, allocations: 271.6 kB / 1.42 GB, free: 78.87 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.324e-05/1.305, allocations: 47.97 kB / 1.42 GB, free: 78.82 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.001069/1.306, allocations: 0.8155 MB / 1.421 GB, free: 78 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008279/1.307, allocations: 221.1 kB / 1.421 GB, free: 77.78 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002967/1.31, allocations: 1.623 MB / 1.423 GB, free: 76.14 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/1.31, allocations: 12 kB / 1.423 GB, free: 76.13 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/1.31, allocations: 0 / 1.423 GB, free: 76.13 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/1.31, allocations: 11.97 kB / 1.423 GB, free: 76.12 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002076/1.312, allocations: 1.968 MB / 1.425 GB, free: 74.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/1.312, allocations: 0 / 1.425 GB, free: 74.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006783/1.313, allocations: 179.8 kB / 1.425 GB, free: 73.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000423/1.314, allocations: 76.78 kB / 1.425 GB, free: 73.85 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.945e-05/1.314, allocations: 31.97 kB / 1.425 GB, free: 73.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001411/1.315, allocations: 1.658 MB / 1.427 GB, free: 72.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.315, allocations: 0 / 1.427 GB, free: 72.02 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00254/1.318, allocations: 1.36 MB / 1.428 GB, free: 70.63 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/1.319, allocations: 0.763 MB / 1.429 GB, free: 69.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004648/1.319, allocations: 24 kB / 1.429 GB, free: 69.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/1.32, allocations: 183.9 kB / 1.429 GB, free: 69.64 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/1.32, allocations: 88.88 kB / 1.429 GB, free: 69.55 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.319e-05/1.321, allocations: 43.97 kB / 1.429 GB, free: 69.51 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.04987/1.37, allocations: 79.4 MB / 1.507 GB, free: 6.09 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.71e-07/1.37, allocations: 0 / 1.507 GB, free: 6.09 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002898/1.373, allocations: 1.013 MB / 1.508 GB, free: 5.148 MB / 1.014 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.006186/1.38, allocations: 2.77 MB / 1.51 GB, free: 2.602 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003433/1.383, allocations: 1.542 MB / 1.512 GB, free: 1.047 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.383, allocations: 0 / 1.512 GB, free: 1.047 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001157/1.384, allocations: 0.6722 MB / 1.512 GB, free: 368 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00246/1.387, allocations: 433.7 kB / 1.513 GB, free: 15.95 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7083/2.095, allocations: 410.6 MB / 1.914 GB, free: 267.4 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001462/2.097, allocations: 1.718 MB / 1.916 GB, free: 265.6 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.00196/2.099, allocations: 0.7798 MB / 1.916 GB, free: 265 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001527/2.1, allocations: 1.108 MB / 1.917 GB, free: 263.9 MB / 1.217 GB Notification: Performance of SimCode: time 6.71e-07/2.1, allocations: 0 / 1.917 GB, free: 263.9 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.659/2.759, allocations: 107.7 MB / 2.023 GB, free: 157.4 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/15.85, allocations: 7.844 kB / 2.023 GB, free: 157.4 MB / 1.217 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1)