Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.001171/0.001174, 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.001137/0.001137, allocations: 195.2 kB / 16.25 MB, free: 6.621 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.17/1.17, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.198/2.198, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 63.91 kB / 0.8688 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4823/0.4835, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008144/0.4917, allocations: 8.407 MB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1278/0.6195, allocations: 149.6 MB / 1.171 GB, free: 4.137 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001142/0.6207, allocations: 23.88 kB / 1.171 GB, free: 4.113 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008787/0.6216, allocations: 230 kB / 1.171 GB, free: 3.887 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002344/0.624, allocations: 0.7458 MB / 1.172 GB, free: 3.141 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002377/0.6263, allocations: 1.253 MB / 1.173 GB, free: 1.895 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002702/0.6291, allocations: 2.982 MB / 1.176 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001567/0.6306, allocations: 1.5 MB / 1.178 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/0.6317, allocations: 1.188 MB / 1.179 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001092/0.6328, allocations: 1.342 MB / 1.18 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003008/0.6331, allocations: 324 kB / 1.181 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008619/0.634, allocations: 0.6793 MB / 1.181 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004493/0.6345, allocations: 0.6972 MB / 1.182 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008796/0.6353, allocations: 1.341 MB / 1.183 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00251/0.6379, allocations: 3.587 MB / 1.187 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.6379, allocations: 0 / 1.187 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6379, allocations: 0 / 1.187 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.991e-05/0.6379, allocations: 4 kB / 1.187 GB, free: 4.16 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.004906/0.6428, allocations: 2.838 MB / 1.189 GB, free: 1.242 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.6429, allocations: 8.031 kB / 1.189 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003191/0.6432, allocations: 316.9 kB / 1.19 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01466/0.6578, allocations: 2.104 MB / 1.192 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/0.6594, allocations: 1.266 MB / 1.193 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.6595, allocations: 172.5 kB / 1.193 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003115/0.6598, allocations: 220 kB / 1.193 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00703/0.6668, allocations: 3.282 MB / 1.197 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.857e-05/0.6669, allocations: 4 kB / 1.197 GB, free: 9.727 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002401/0.6671, allocations: 92 kB / 1.197 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.263e-05/0.6672, allocations: 52 kB / 1.197 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01085/0.678, allocations: 4.205 MB / 1.201 GB, free: 5.363 MB / 0.9512 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.013/0.691, allocations: 8.111 MB / 1.209 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007736/0.6988, allocations: 2.875 MB / 1.212 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00374/0.7025, allocations: 1.489 MB / 1.213 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000642/0.7032, allocations: 0.5035 MB / 1.214 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00446/0.7077, allocations: 1.851 MB / 1.215 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=213): time 3.437e-06/0.7077, allocations: 4 kB / 1.215 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of matching and sorting (n=213): time 0.01308/0.7208, allocations: 4.466 MB / 1.22 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.839e-05/0.7209, allocations: 205.9 kB / 1.22 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009863/0.7219, allocations: 0.9452 MB / 1.221 GB, free: 444 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001805/0.7221, allocations: 61.7 kB / 1.221 GB, free: 376 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004401/0.7225, allocations: 0.7465 MB / 1.222 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004983/0.723, allocations: 0.6815 MB / 1.222 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006563/0.7237, allocations: 379.2 kB / 1.223 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 7.39e-05/0.7238, allocations: 305.1 kB / 1.223 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003703/0.7275, allocations: 1.234 MB / 1.224 GB, free: 13 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003872/0.7313, allocations: 1.437 MB / 1.226 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007332/0.7387, allocations: 2.587 MB / 1.228 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.7387, allocations: 0 / 1.228 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.008791/0.7475, allocations: 3.077 MB / 1.231 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.7475, allocations: 4 kB / 1.231 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.7475, allocations: 4 kB / 1.231 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005634/0.7481, allocations: 84.84 kB / 1.231 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003492/0.7516, allocations: 0.5967 MB / 1.232 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07774/0.8294, allocations: 1.653 MB / 1.233 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002951/0.8323, allocations: 374 kB / 1.234 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002034/0.8325, allocations: 99.89 kB / 1.234 GB, free: 2.887 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (231): * Single equations (assignments): 230 * 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.000729/0.8333, allocations: 432.2 kB / 1.234 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003375/0.8336, allocations: 158 kB / 1.234 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01036/0.844, allocations: 3.72 MB / 1.238 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.844, allocations: 20 kB / 1.238 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.844, allocations: 7.938 kB / 1.238 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.859e-05/0.844, allocations: 11.95 kB / 1.238 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002418/0.8465, allocations: 2.459 MB / 1.24 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.8465, allocations: 3.938 kB / 1.24 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003295/0.8498, allocations: 0.5616 MB / 1.241 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004265/0.8502, allocations: 76.78 kB / 1.241 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001861/0.8504, allocations: 75.91 kB / 1.241 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001631/0.8521, allocations: 1.662 MB / 1.243 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.8521, allocations: 0 / 1.243 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008749/0.8608, allocations: 3.21 MB / 1.246 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006864/0.8615, allocations: 0.5568 MB / 1.246 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000312/0.8618, allocations: 47.84 kB / 1.247 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002592/0.8644, allocations: 281.7 kB / 1.247 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002581/0.8647, allocations: 153.8 kB / 1.247 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002021/0.8649, allocations: 99.89 kB / 1.247 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007546/0.8657, allocations: 0.6997 MB / 1.248 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8657, allocations: 0 / 1.248 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001309/0.867, allocations: 0.6623 MB / 1.248 GB, free: 3.738 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.354/1.221, allocations: 4.316 MB / 1.253 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01303/1.234, allocations: 3.641 MB / 1.256 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.234, allocations: 2.094 kB / 1.256 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004633/1.239, allocations: 1.755 MB / 1.258 GB, free: 227.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001772/1.241, allocations: 392.8 kB / 1.258 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03602/1.277, allocations: 17.67 MB / 1.275 GB, free: 218.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007942/1.277, allocations: 1.422 MB / 1.277 GB, free: 217.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003068/1.28, allocations: 0.5858 MB / 1.277 GB, free: 217.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001349/1.282, allocations: 0.8854 MB / 1.278 GB, free: 216.9 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/1.282, allocations: 0 / 1.278 GB, free: 216.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04991/1.332, allocations: 42.12 MB / 1.319 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/1.332, allocations: 302.5 kB / 1.32 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.763/4.095, allocations: 0 / 1.32 GB, free: 181.4 MB / 0.9981 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)