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.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.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.001154/0.001154, 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.001135/0.001135, allocations: 198.5 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.159/1.159, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.19/2.19, allocations: 437 MB / 0.7101 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 71.89 kB / 0.8689 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4644/0.4656, allocations: 151.6 MB / 1.017 GB, free: 2.863 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007089/0.4727, allocations: 7.052 MB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1248/0.5975, allocations: 148.9 MB / 1.169 GB, free: 6.301 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008937/0.5984, allocations: 19.88 kB / 1.169 GB, free: 6.281 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007654/0.5992, allocations: 198.5 kB / 1.169 GB, free: 6.086 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001994/0.6012, allocations: 0.689 MB / 1.17 GB, free: 5.398 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001896/0.6031, allocations: 0.9167 MB / 1.171 GB, free: 4.492 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001929/0.6051, allocations: 2.077 MB / 1.173 GB, free: 2.406 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001188/0.6062, allocations: 1.111 MB / 1.174 GB, free: 1.25 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008235/0.6071, allocations: 0.8214 MB / 1.175 GB, free: 436 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007172/0.6078, allocations: 0.887 MB / 1.176 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000202/0.608, allocations: 216 kB / 1.176 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007074/0.6087, allocations: 0.5543 MB / 1.177 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003074/0.6091, allocations: 494.5 kB / 1.177 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006249/0.6097, allocations: 0.972 MB / 1.178 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001856/0.6115, allocations: 2.617 MB / 1.18 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.6116, allocations: 0 / 1.18 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6116, allocations: 0 / 1.18 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.358e-05/0.6116, allocations: 4 kB / 1.181 GB, free: 10.68 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.00305/0.6146, allocations: 2.052 MB / 1.183 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.6147, allocations: 8.031 kB / 1.183 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002268/0.6149, allocations: 224.2 kB / 1.183 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009035/0.6158, allocations: 254.6 kB / 1.183 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.6169, allocations: 0.9772 MB / 1.184 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.617, allocations: 144.8 kB / 1.184 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/0.6172, allocations: 156 kB / 1.184 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00226/0.6195, allocations: 1.589 MB / 1.186 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.6195, allocations: 0 / 1.186 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/0.6196, allocations: 68 kB / 1.186 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.6197, allocations: 36 kB / 1.186 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002219/0.6219, allocations: 1.592 MB / 1.187 GB, free: 3.418 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.005564/0.6275, allocations: 4.74 MB / 1.192 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.6291, allocations: 1.094 MB / 1.193 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006238/0.6298, allocations: 435.7 kB / 1.194 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.738e-05/0.6299, allocations: 37.02 kB / 1.194 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001098/0.631, allocations: 0.7112 MB / 1.194 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=111): time 2.174e-06/0.631, allocations: 0 / 1.194 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of matching and sorting (n=111): time 0.003503/0.6345, allocations: 1.657 MB / 1.196 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.445e-05/0.6346, allocations: 192.9 kB / 1.196 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008808/0.6355, allocations: 0.8378 MB / 1.197 GB, free: 9.406 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.744e-05/0.6355, allocations: 53.69 kB / 1.197 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003583/0.6359, allocations: 0.6167 MB / 1.198 GB, free: 8.723 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002284/0.6361, allocations: 358.8 kB / 1.198 GB, free: 8.367 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002746/0.6364, allocations: 206.8 kB / 1.198 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.6365, allocations: 349.9 kB / 1.198 GB, free: 7.809 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006292/0.6372, allocations: 370.5 kB / 1.199 GB, free: 7.449 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007473/0.6379, allocations: 0.5141 MB / 1.199 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001356/0.6393, allocations: 0.8555 MB / 1.2 GB, free: 6.035 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6393, allocations: 4 kB / 1.2 GB, free: 6.031 MB / 0.9512 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002202/0.6415, allocations: 1.153 MB / 1.201 GB, free: 4.863 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.6415, allocations: 4 kB / 1.201 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.6415, allocations: 4 kB / 1.201 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005598/0.6421, allocations: 84.83 kB / 1.201 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008666/0.643, allocations: 219.7 kB / 1.202 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/0.6448, allocations: 1.665 MB / 1.203 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008035/0.6456, allocations: 140.4 kB / 1.203 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.974e-05/0.6457, allocations: 43.97 kB / 1.203 GB, free: 2.566 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.000424/0.6461, allocations: 349.4 kB / 1.204 GB, free: 2.219 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/0.6463, allocations: 122.5 kB / 1.204 GB, free: 2.098 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00297/0.6493, allocations: 1.528 MB / 1.205 GB, free: 0.5586 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.6493, allocations: 19.94 kB / 1.205 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.6493, allocations: 0 / 1.205 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.6494, allocations: 7.969 kB / 1.205 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.6506, allocations: 1.377 MB / 1.207 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6506, allocations: 3.938 kB / 1.207 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007853/0.6514, allocations: 195.7 kB / 1.207 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004148/0.6518, allocations: 72.8 kB / 1.207 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.932e-05/0.6519, allocations: 35.97 kB / 1.207 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001621/0.6535, allocations: 1.689 MB / 1.209 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6536, allocations: 0 / 1.209 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002252/0.6558, allocations: 1.277 MB / 1.21 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003896/0.6562, allocations: 359.2 kB / 1.21 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/0.6564, allocations: 35.88 kB / 1.21 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008502/0.6572, allocations: 91.89 kB / 1.21 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/0.6574, allocations: 97.17 kB / 1.21 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.775e-05/0.6575, allocations: 51.97 kB / 1.21 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006564/0.6582, allocations: 0.6176 MB / 1.211 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6582, allocations: 0 / 1.211 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0008178/0.659, allocations: 470.5 kB / 1.211 GB, free: 9.934 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.003552/0.6626, allocations: 2.366 MB / 1.214 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002976/0.6655, allocations: 1.402 MB / 1.215 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6656, allocations: 0 / 1.215 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.6666, allocations: 0.6738 MB / 1.216 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.6678, allocations: 365.9 kB / 1.216 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01346/0.6813, allocations: 9.815 MB / 1.226 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000636/0.6819, allocations: 1.225 MB / 1.227 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0009012/0.6828, allocations: 313.2 kB / 1.227 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007271/0.6836, allocations: 0.6164 MB / 1.228 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of SimCode: time 2.6e-07/0.6836, allocations: 0 / 1.228 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.063/3.747, allocations: 28.8 MB / 1.256 GB, free: 231.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/3.747, allocations: 314.8 kB / 1.256 GB, free: 231.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.384/6.131, allocations: 1.938 kB / 1.256 GB, free: 231.2 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)