Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_latest_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.001285/0.001285, 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.001305/0.001305, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.226/1.226, 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 11.0.1-master/package.mo): time 2.424/2.424, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 62.11 kB / 0.8987 GB, free: 37.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2467, allocations: 157.4 MB / 1.052 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007713/0.2544, allocations: 7.023 MB / 1.059 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1367/0.3912, allocations: 148.9 MB / 1.205 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001097/0.3923, allocations: 15.94 kB / 1.205 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008912/0.3932, allocations: 202.4 kB / 1.205 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002309/0.3956, allocations: 0.6893 MB / 1.206 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002121/0.3977, allocations: 0.9132 MB / 1.206 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002213/0.4, allocations: 2.089 MB / 1.208 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.4014, allocations: 1.103 MB / 1.21 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.4024, allocations: 0.8176 MB / 1.21 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.4035, allocations: 0.8924 MB / 1.211 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000369/0.4039, allocations: 220 kB / 1.211 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009745/0.4049, allocations: 0.5426 MB / 1.212 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004293/0.4053, allocations: 494.5 kB / 1.212 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0009751/0.4063, allocations: 0.972 MB / 1.213 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002317/0.4086, allocations: 2.613 MB / 1.216 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.4086, allocations: 0 / 1.216 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.305e-06/0.4086, allocations: 4 kB / 1.216 GB, free: 500 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.963e-05/0.4087, allocations: 3.938 kB / 1.216 GB, free: 496 kB / 0.9669 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.003268/0.4119, allocations: 2.052 MB / 1.218 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.412, allocations: 8.625 kB / 1.218 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002377/0.4122, allocations: 232.2 kB / 1.218 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009326/0.4132, allocations: 254.6 kB / 1.218 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/0.4143, allocations: 0.9693 MB / 1.219 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.4145, allocations: 156.8 kB / 1.22 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/0.4146, allocations: 148 kB / 1.22 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00237/0.417, allocations: 1.597 MB / 1.221 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/0.4171, allocations: 0 / 1.221 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.4172, allocations: 64 kB / 1.221 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/0.4172, allocations: 36 kB / 1.221 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002303/0.4195, allocations: 1.596 MB / 1.223 GB, free: 9.207 MB / 0.9825 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.005821/0.4254, allocations: 4.738 MB / 1.228 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/0.4271, allocations: 1.098 MB / 1.229 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006565/0.4278, allocations: 431.7 kB / 1.229 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.677e-05/0.4279, allocations: 49.06 kB / 1.229 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001139/0.429, allocations: 0.6958 MB / 1.23 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=111): time 2.224e-06/0.429, allocations: 0 / 1.23 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of matching and sorting (n=111): time 0.003633/0.4327, allocations: 1.657 MB / 1.231 GB, free: 312 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.564e-05/0.4328, allocations: 200.9 kB / 1.232 GB, free: 64 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009149/0.4337, allocations: 0.8417 MB / 1.232 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.966e-05/0.4338, allocations: 45.7 kB / 1.232 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003829/0.4342, allocations: 0.6206 MB / 1.233 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002359/0.4344, allocations: 354.9 kB / 1.233 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002955/0.4347, allocations: 210.7 kB / 1.234 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.4348, allocations: 345.9 kB / 1.234 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006633/0.4355, allocations: 382.4 kB / 1.234 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007594/0.4363, allocations: 0.5024 MB / 1.235 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/0.4377, allocations: 0.8633 MB / 1.236 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4377, allocations: 0 / 1.236 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.0023/0.44, allocations: 1.149 MB / 1.237 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.44, allocations: 8 kB / 1.237 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.44, allocations: 0 / 1.237 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005948/0.4406, allocations: 88.8 kB / 1.237 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008935/0.4416, allocations: 223.7 kB / 1.237 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001922/0.4435, allocations: 1.66 MB / 1.239 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008654/0.4444, allocations: 142.9 kB / 1.239 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.42e-05/0.4445, allocations: 43.97 kB / 1.239 GB, free: 8.363 MB / 0.9981 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.000455/0.4449, allocations: 343.9 kB / 1.239 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/0.4451, allocations: 118.5 kB / 1.239 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003053/0.4482, allocations: 1.532 MB / 1.241 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/0.4482, allocations: 12 kB / 1.241 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.4482, allocations: 0 / 1.241 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.4482, allocations: 7.969 kB / 1.241 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.4496, allocations: 1.384 MB / 1.242 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.4496, allocations: 3.938 kB / 1.242 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00078/0.4504, allocations: 199.7 kB / 1.242 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004338/0.4508, allocations: 72.78 kB / 1.242 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.327e-05/0.4509, allocations: 35.97 kB / 1.242 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001707/0.4526, allocations: 1.674 MB / 1.244 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.4526, allocations: 0 / 1.244 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002316/0.4549, allocations: 1.281 MB / 1.245 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004205/0.4554, allocations: 363.2 kB / 1.246 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001664/0.4555, allocations: 31.94 kB / 1.246 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008544/0.4564, allocations: 97.36 kB / 1.246 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/0.4566, allocations: 101.2 kB / 1.246 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.834e-05/0.4567, allocations: 47.97 kB / 1.246 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006985/0.4574, allocations: 0.6215 MB / 1.247 GB, free: 192 kB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4574, allocations: 0 / 1.247 GB, free: 192 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.3915/0.8489, allocations: 466.2 kB / 1.247 GB, free: 191.8 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,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.004055/0.853, allocations: 2.344 MB / 1.249 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003161/0.8562, allocations: 1.402 MB / 1.251 GB, free: 191 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.8562, allocations: 0 / 1.251 GB, free: 191 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009438/0.8571, allocations: 0.6814 MB / 1.251 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.8583, allocations: 354.4 kB / 1.252 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/0.8707, allocations: 9.82 MB / 1.261 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007301/0.8715, allocations: 1.22 MB / 1.262 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009902/0.8725, allocations: 320.1 kB / 1.263 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007284/0.8732, allocations: 0.6107 MB / 1.263 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of SimCode: time 3.61e-07/0.8732, allocations: 0 / 1.263 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3445/1.218, allocations: 28.82 MB / 1.291 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/1.218, allocations: 318.4 kB / 1.292 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.608/3.826, allocations: 3.812 kB / 1.292 GB, free: 176.4 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)