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.001269/0.001269, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0012/0.0012, allocations: 196.2 kB / 16.26 MB, free: 6.625 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.197/1.197, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.277/2.277, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 63.91 kB / 0.8689 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4689/0.47, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.007885/0.478, allocations: 6.96 MB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1428/0.6208, allocations: 153.1 MB / 1.173 GB, free: 2.016 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.6219, allocations: 27.81 kB / 1.173 GB, free: 1.988 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004078/0.626, allocations: 1.647 MB / 1.175 GB, free: 344 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002299/0.6283, allocations: 0.8201 MB / 1.176 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002089/0.6304, allocations: 0.8824 MB / 1.177 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002575/0.633, allocations: 2.567 MB / 1.179 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001198/0.6342, allocations: 0.9376 MB / 1.18 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/0.6353, allocations: 0.9187 MB / 1.181 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008744/0.6362, allocations: 0.9532 MB / 1.182 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001894/0.6364, allocations: 184 kB / 1.182 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002668/0.6391, allocations: 2.239 MB / 1.184 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0007456/0.6399, allocations: 1.208 MB / 1.185 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001012/0.6409, allocations: 1.43 MB / 1.187 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004137/0.645, allocations: 5.384 MB / 1.192 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.645, allocations: 0 / 1.192 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.172e-06/0.645, allocations: 4 kB / 1.192 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.497e-05/0.6451, allocations: 0 / 1.192 GB, free: 14.73 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.005769/0.6509, allocations: 3.978 MB / 1.196 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.6509, allocations: 8.031 kB / 1.196 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001886/0.6511, allocations: 190.3 kB / 1.196 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.6522, allocations: 357.3 kB / 1.196 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4474/1.1, allocations: 87.6 MB / 1.282 GB, free: 220.1 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.445e-05/1.1, allocations: 103.2 kB / 1.282 GB, free: 220 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/1.1, allocations: 132.8 kB / 1.282 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/1.102, allocations: 1.357 MB / 1.284 GB, free: 218.7 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/1.102, allocations: 0 / 1.284 GB, free: 218.7 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.459e-05/1.102, allocations: 56 kB / 1.284 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/1.102, allocations: 32.75 kB / 1.284 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001767/1.104, allocations: 1.502 MB / 1.285 GB, free: 217.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.01208/1.116, allocations: 23.9 MB / 1.308 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/1.117, allocations: 1.134 MB / 1.31 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005198/1.118, allocations: 445.2 kB / 1.31 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.147e-05/1.118, allocations: 37.09 kB / 1.31 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007873/1.119, allocations: 0.6525 MB / 1.311 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=100): time 2.214e-06/1.119, allocations: 4 kB / 1.311 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100): time 0.003344/1.122, allocations: 1.741 MB / 1.312 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/1.122, allocations: 192.9 kB / 1.312 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0702/1.192, allocations: 99.4 MB / 1.41 GB, free: 89.77 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000213/1.193, allocations: 49.7 kB / 1.41 GB, free: 89.72 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006705/1.193, allocations: 1.069 MB / 1.411 GB, free: 88.64 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000192/1.193, allocations: 319.4 kB / 1.411 GB, free: 88.32 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002758/1.194, allocations: 242.7 kB / 1.411 GB, free: 88.08 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.349e-05/1.194, allocations: 353.9 kB / 1.412 GB, free: 87.73 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006563/1.194, allocations: 494.3 kB / 1.412 GB, free: 87.25 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007124/1.195, allocations: 0.6246 MB / 1.413 GB, free: 86.59 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/1.196, allocations: 1.002 MB / 1.414 GB, free: 85.57 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/1.196, allocations: 3.938 kB / 1.414 GB, free: 85.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002613/1.199, allocations: 1.507 MB / 1.415 GB, free: 84.05 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/1.199, allocations: 8 kB / 1.415 GB, free: 84.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/1.199, allocations: 0 / 1.415 GB, free: 84.04 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005495/1.2, allocations: 84.83 kB / 1.415 GB, free: 83.95 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008156/1.2, allocations: 236.2 kB / 1.415 GB, free: 83.72 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/1.202, allocations: 1.653 MB / 1.417 GB, free: 81.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/1.203, allocations: 287.8 kB / 1.417 GB, free: 81.64 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-05/1.203, allocations: 47.97 kB / 1.417 GB, free: 81.6 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.0007087/1.204, allocations: 0.8038 MB / 1.418 GB, free: 80.79 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003861/1.204, allocations: 224.8 kB / 1.418 GB, free: 80.57 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002546/1.207, allocations: 1.624 MB / 1.42 GB, free: 78.93 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/1.207, allocations: 12 kB / 1.42 GB, free: 78.92 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/1.207, allocations: 0 / 1.42 GB, free: 78.92 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/1.207, allocations: 7.969 kB / 1.42 GB, free: 78.91 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/1.208, allocations: 1.97 MB / 1.422 GB, free: 76.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/1.208, allocations: 4 kB / 1.422 GB, free: 76.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006622/1.209, allocations: 182.3 kB / 1.422 GB, free: 76.71 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003888/1.209, allocations: 76.78 kB / 1.422 GB, free: 76.64 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.749e-05/1.21, allocations: 27.98 kB / 1.422 GB, free: 76.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0013/1.211, allocations: 1.654 MB / 1.424 GB, free: 74.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/1.211, allocations: 0 / 1.424 GB, free: 74.81 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0021/1.213, allocations: 1.368 MB / 1.425 GB, free: 73.42 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007207/1.214, allocations: 0.7513 MB / 1.426 GB, free: 72.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003059/1.214, allocations: 31.98 kB / 1.426 GB, free: 72.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/1.215, allocations: 179.9 kB / 1.426 GB, free: 72.44 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/1.215, allocations: 92.88 kB / 1.426 GB, free: 72.35 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.918e-05/1.215, allocations: 52.05 kB / 1.426 GB, free: 72.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.04537/1.261, allocations: 79.39 MB / 1.504 GB, free: 8.879 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.4e-07/1.261, allocations: 0 / 1.504 GB, free: 8.879 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002342/1.263, allocations: 1.022 MB / 1.505 GB, free: 7.93 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.004698/1.268, allocations: 2.781 MB / 1.507 GB, free: 5.367 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002997/1.271, allocations: 1.538 MB / 1.509 GB, free: 3.82 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.271, allocations: 0 / 1.509 GB, free: 3.82 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/1.272, allocations: 0.668 MB / 1.51 GB, free: 3.137 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/1.273, allocations: 420.7 kB / 1.51 GB, free: 2.742 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6709/1.944, allocations: 411.2 MB / 1.912 GB, free: 269.6 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008714/1.945, allocations: 1.716 MB / 1.913 GB, free: 267.9 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0016/1.947, allocations: 0.7733 MB / 1.914 GB, free: 267.3 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/1.948, allocations: 1.107 MB / 1.915 GB, free: 266.1 MB / 1.217 GB Notification: Performance of SimCode: time 5.21e-07/1.948, allocations: 0 / 1.915 GB, free: 266.1 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.16/3.108, allocations: 107.4 MB / 2.02 GB, free: 160 MB / 1.217 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002242/3.108, allocations: 308.8 kB / 2.02 GB, free: 159.6 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.434/6.542, allocations: 0 / 2.02 GB, free: 159.6 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)