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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001197/0.001197, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001172/0.001172, allocations: 193.9 kB / 16.14 MB, free: 6.691 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.202/1.202, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.408/2.408, allocations: 461.8 MB / 0.7342 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 64.09 kB / 0.8985 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.233, allocations: 157.4 MB / 1.052 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007204/0.2403, allocations: 7.004 MB / 1.059 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1324/0.3726, allocations: 148.8 MB / 1.204 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007376/0.3734, allocations: 15.94 kB / 1.204 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005764/0.374, allocations: 206.4 kB / 1.205 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.3757, allocations: 0.6615 MB / 1.205 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.3773, allocations: 0.8889 MB / 1.206 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001382/0.3787, allocations: 1.96 MB / 1.208 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001157/0.3799, allocations: 1.067 MB / 1.209 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006428/0.3805, allocations: 0.7159 MB / 1.21 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006818/0.3812, allocations: 0.8128 MB / 1.211 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001774/0.3814, allocations: 116 kB / 1.211 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007196/0.3821, allocations: 459.6 kB / 1.211 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002957/0.3824, allocations: 394.5 kB / 1.211 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006384/0.3831, allocations: 0.8666 MB / 1.212 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001939/0.385, allocations: 2.523 MB / 1.215 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.385, allocations: 0 / 1.215 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.112e-06/0.385, allocations: 0 / 1.215 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.584e-05/0.3851, allocations: 4 kB / 1.215 GB, free: 1.039 MB / 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.003664/0.3887, allocations: 2.056 MB / 1.217 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.3888, allocations: 15.95 kB / 1.217 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002588/0.3891, allocations: 224.2 kB / 1.217 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/0.3901, allocations: 262.5 kB / 1.217 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.3913, allocations: 0.9693 MB / 1.218 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/0.3915, allocations: 144.8 kB / 1.218 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/0.3917, allocations: 156 kB / 1.219 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002473/0.3942, allocations: 1.589 MB / 1.22 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.3942, allocations: 4 kB / 1.22 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.3943, allocations: 60 kB / 1.22 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.755e-05/0.3944, allocations: 40 kB / 1.22 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002343/0.3967, allocations: 1.592 MB / 1.222 GB, free: 9.766 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.00578/0.4025, allocations: 4.728 MB / 1.226 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/0.4042, allocations: 1.092 MB / 1.227 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006629/0.4049, allocations: 443.6 kB / 1.228 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-05/0.405, allocations: 41.08 kB / 1.228 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00115/0.4062, allocations: 0.6997 MB / 1.229 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=111): time 2.464e-06/0.4062, allocations: 0 / 1.229 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of matching and sorting (n=111): time 0.003602/0.4098, allocations: 1.664 MB / 1.23 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.993e-05/0.4099, allocations: 192.9 kB / 1.23 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009044/0.4108, allocations: 0.8417 MB / 1.231 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.448e-05/0.4109, allocations: 53.64 kB / 1.231 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003839/0.4113, allocations: 0.6245 MB / 1.232 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002437/0.4115, allocations: 350.9 kB / 1.232 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000287/0.4118, allocations: 210.7 kB / 1.232 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.4119, allocations: 341.9 kB / 1.233 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006586/0.4126, allocations: 382.4 kB / 1.233 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007721/0.4134, allocations: 0.5063 MB / 1.234 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.4148, allocations: 0.8671 MB / 1.234 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.4148, allocations: 0 / 1.234 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002271/0.4171, allocations: 1.149 MB / 1.236 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.4171, allocations: 4 kB / 1.236 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.4171, allocations: 4 kB / 1.236 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005535/0.4177, allocations: 84.83 kB / 1.236 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008611/0.4185, allocations: 215.7 kB / 1.236 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/0.4203, allocations: 1.548 MB / 1.237 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008334/0.4212, allocations: 148.4 kB / 1.237 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.117e-05/0.4213, allocations: 47.95 kB / 1.238 GB, free: 9.035 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.0004629/0.4217, allocations: 343.9 kB / 1.238 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/0.422, allocations: 118.6 kB / 1.238 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003079/0.425, allocations: 1.528 MB / 1.239 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.4251, allocations: 16 kB / 1.239 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.4251, allocations: 0 / 1.239 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.4251, allocations: 7.969 kB / 1.239 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.4264, allocations: 1.376 MB / 1.241 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.4264, allocations: 7.875 kB / 1.241 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007638/0.4272, allocations: 199.7 kB / 1.241 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004899/0.4277, allocations: 88.77 kB / 1.241 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.419e-05/0.4278, allocations: 35.97 kB / 1.241 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00161/0.4294, allocations: 1.552 MB / 1.243 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4294, allocations: 0 / 1.243 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/0.4317, allocations: 1.285 MB / 1.244 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003994/0.4321, allocations: 359.2 kB / 1.244 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.4323, allocations: 35.94 kB / 1.244 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008186/0.4331, allocations: 91.78 kB / 1.244 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/0.4333, allocations: 101.2 kB / 1.244 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.849e-05/0.4334, allocations: 51.97 kB / 1.245 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006906/0.4341, allocations: 0.6176 MB / 1.245 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4341, allocations: 0 / 1.245 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008835/0.435, allocations: 478.5 kB / 1.246 GB, free: 0.5039 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.4168/0.8518, allocations: 2.347 MB / 1.248 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001983/0.8538, allocations: 1.116 MB / 1.249 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.8538, allocations: 4.031 kB / 1.249 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.8549, allocations: 0.6804 MB / 1.25 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.8561, allocations: 322.2 kB / 1.25 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/0.8685, allocations: 9.81 MB / 1.26 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005996/0.8691, allocations: 1.229 MB / 1.261 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001006/0.8702, allocations: 317 kB / 1.261 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007575/0.8709, allocations: 0.6041 MB / 1.262 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.8709, allocations: 0 / 1.262 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.282/2.153, allocations: 28.01 MB / 1.289 GB, free: 177 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/2.153, allocations: 312 kB / 1.289 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.516/4.67, allocations: 0 / 1.289 GB, free: 176.6 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)