Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.DirectTiltedSurface,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.001247/0.001247, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001211/0.001211, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.225/1.225, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.307/2.307, allocations: 437 MB / 0.7099 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 67.89 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.489/0.4901, allocations: 151.6 MB / 1.017 GB, free: 2.93 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007106/0.4973, allocations: 7.048 MB / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1314/0.6287, allocations: 148.8 MB / 1.169 GB, free: 6.461 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007408/0.6295, allocations: 19.88 kB / 1.169 GB, free: 6.441 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005501/0.63, allocations: 194.5 kB / 1.169 GB, free: 6.25 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001515/0.6316, allocations: 0.6711 MB / 1.17 GB, free: 5.578 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.6333, allocations: 0.8921 MB / 1.171 GB, free: 4.695 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001402/0.6347, allocations: 1.952 MB / 1.173 GB, free: 2.734 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001186/0.6359, allocations: 1.075 MB / 1.174 GB, free: 1.617 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006458/0.6365, allocations: 0.7043 MB / 1.174 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006641/0.6372, allocations: 0.8263 MB / 1.175 GB, free: 84 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000186/0.6374, allocations: 116 kB / 1.175 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007289/0.6381, allocations: 447.6 kB / 1.176 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002899/0.6384, allocations: 394.5 kB / 1.176 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006423/0.6391, allocations: 0.8822 MB / 1.177 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001868/0.641, allocations: 2.527 MB / 1.179 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.641, allocations: 4 kB / 1.179 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.71e-07/0.641, allocations: 0 / 1.179 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.374e-05/0.641, allocations: 0 / 1.179 GB, free: 11.72 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.003241/0.6442, allocations: 2.048 MB / 1.181 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.6443, allocations: 12.03 kB / 1.181 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002249/0.6445, allocations: 232.2 kB / 1.182 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009246/0.6455, allocations: 250.6 kB / 1.182 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.6466, allocations: 0.9694 MB / 1.183 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/0.6467, allocations: 148.8 kB / 1.183 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/0.6469, allocations: 148 kB / 1.183 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002331/0.6492, allocations: 1.593 MB / 1.185 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.6493, allocations: 4 kB / 1.185 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/0.6494, allocations: 63.94 kB / 1.185 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.946e-05/0.6494, allocations: 40 kB / 1.185 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002359/0.6518, allocations: 1.592 MB / 1.186 GB, free: 4.457 MB / 0.9356 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.005856/0.6577, allocations: 4.736 MB / 1.191 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/0.6595, allocations: 1.1 MB / 1.192 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006806/0.6602, allocations: 427.7 kB / 1.192 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.571e-05/0.6602, allocations: 49.06 kB / 1.192 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001136/0.6614, allocations: 0.6958 MB / 1.193 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=111): time 3.436e-06/0.6614, allocations: 7.984 kB / 1.193 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=111): time 0.003628/0.665, allocations: 1.653 MB / 1.195 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.44e-05/0.6651, allocations: 200.9 kB / 1.195 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009138/0.6661, allocations: 0.834 MB / 1.196 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.737e-05/0.6661, allocations: 49.7 kB / 1.196 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003929/0.6665, allocations: 0.6206 MB / 1.196 GB, free: 9.77 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002453/0.6668, allocations: 366.8 kB / 1.197 GB, free: 9.406 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002936/0.6671, allocations: 202.8 kB / 1.197 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.6672, allocations: 341.9 kB / 1.197 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006749/0.6679, allocations: 386.4 kB / 1.198 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000775/0.6687, allocations: 0.5024 MB / 1.198 GB, free: 7.949 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.6701, allocations: 0.8633 MB / 1.199 GB, free: 7.074 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.6701, allocations: 4 kB / 1.199 GB, free: 7.07 MB / 0.9512 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002291/0.6724, allocations: 1.149 MB / 1.2 GB, free: 5.906 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.6724, allocations: 8.125 kB / 1.2 GB, free: 5.898 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.6725, allocations: 4 kB / 1.2 GB, free: 5.895 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005784/0.673, allocations: 84.77 kB / 1.2 GB, free: 5.809 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008786/0.6739, allocations: 219.6 kB / 1.2 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001862/0.6758, allocations: 1.55 MB / 1.202 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008581/0.6767, allocations: 138.9 kB / 1.202 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-05/0.6768, allocations: 43.97 kB / 1.202 GB, free: 3.73 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 (HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.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 (127): * Single equations (assignments): 126 * 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.0004729/0.6772, allocations: 353.6 kB / 1.202 GB, free: 3.379 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/0.6774, allocations: 110.6 kB / 1.203 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003067/0.6805, allocations: 1.539 MB / 1.204 GB, free: 1.719 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.6805, allocations: 12 kB / 1.204 GB, free: 1.707 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.6805, allocations: 8 kB / 1.204 GB, free: 1.699 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.6806, allocations: 3.984 kB / 1.204 GB, free: 1.695 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.6819, allocations: 1.384 MB / 1.205 GB, free: 268 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.748e-06/0.6819, allocations: 3.938 kB / 1.205 GB, free: 264 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007657/0.6827, allocations: 191.7 kB / 1.206 GB, free: 72 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005106/0.6832, allocations: 88.83 kB / 1.206 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.795e-05/0.6833, allocations: 31.91 kB / 1.206 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001628/0.6849, allocations: 1.551 MB / 1.207 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6849, allocations: 4.062 kB / 1.207 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/0.6873, allocations: 1.285 MB / 1.208 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004159/0.6877, allocations: 359.2 kB / 1.209 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/0.6879, allocations: 27.94 kB / 1.209 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008386/0.6887, allocations: 99.83 kB / 1.209 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/0.6889, allocations: 97.17 kB / 1.209 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.036e-05/0.689, allocations: 51.95 kB / 1.209 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006975/0.6897, allocations: 0.6176 MB / 1.21 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6897, allocations: 0 / 1.21 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009384/0.6906, allocations: 474.5 kB / 1.21 GB, free: 11.2 MB / 0.9669 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,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * 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.003715/0.6944, allocations: 2.356 MB / 1.212 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001906/0.6963, allocations: 1.121 MB / 1.214 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6963, allocations: 3.938 kB / 1.214 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.6974, allocations: 0.6777 MB / 1.214 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.6986, allocations: 328.6 kB / 1.215 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0141/0.7127, allocations: 9.822 MB / 1.224 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006765/0.7134, allocations: 1.224 MB / 1.225 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0009641/0.7143, allocations: 313.2 kB / 1.226 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007722/0.7151, allocations: 0.6047 MB / 1.226 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of SimCode: time 1.653e-06/0.7151, allocations: 4 kB / 1.226 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4052/1.12, allocations: 28 MB / 1.254 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/1.12, allocations: 314 kB / 1.254 GB, free: 228 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.324/3.445, allocations: 2.734 kB / 1.254 GB, free: 228 MB / 0.9981 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)