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.00123/0.00123, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 195.1 kB / 16.53 MB, free: 6.699 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.211/1.211, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.418/2.418, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 64.14 kB / 0.8992 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2442, allocations: 157.4 MB / 1.053 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007958/0.2522, allocations: 7.034 MB / 1.06 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1435/0.3957, allocations: 151.2 MB / 1.207 GB, free: 9.496 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007492/0.3965, allocations: 19.94 kB / 1.207 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005957/0.3971, allocations: 265.4 kB / 1.208 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001772/0.3989, allocations: 0.7669 MB / 1.208 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001881/0.4008, allocations: 1.013 MB / 1.209 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001621/0.4024, allocations: 2.081 MB / 1.211 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/0.4037, allocations: 1.107 MB / 1.213 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00076/0.4044, allocations: 0.8176 MB / 1.213 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007941/0.4052, allocations: 0.8831 MB / 1.214 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002447/0.4055, allocations: 220 kB / 1.214 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008613/0.4064, allocations: 0.5504 MB / 1.215 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003856/0.4067, allocations: 494.5 kB / 1.215 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007681/0.4075, allocations: 0.9681 MB / 1.216 GB, free: 272 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002176/0.4097, allocations: 2.609 MB / 1.219 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4097, allocations: 4 kB / 1.219 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4097, allocations: 0 / 1.219 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.114e-05/0.4098, allocations: 0 / 1.219 GB, free: 13.64 MB / 0.9825 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.003244/0.413, allocations: 2.058 MB / 1.221 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.413, allocations: 8.625 kB / 1.221 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002338/0.4133, allocations: 228.2 kB / 1.221 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000958/0.4143, allocations: 254.6 kB / 1.221 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.4155, allocations: 0.9732 MB / 1.222 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001341/0.4156, allocations: 152.8 kB / 1.222 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/0.4158, allocations: 148 kB / 1.223 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002305/0.4181, allocations: 1.589 MB / 1.224 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.4181, allocations: 0 / 1.224 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/0.4183, allocations: 64 kB / 1.224 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.653e-05/0.4183, allocations: 36 kB / 1.224 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002378/0.4207, allocations: 1.6 MB / 1.226 GB, free: 6.371 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.006009/0.4267, allocations: 4.732 MB / 1.23 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/0.4285, allocations: 1.096 MB / 1.231 GB, free: 352 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006899/0.4292, allocations: 431.9 kB / 1.232 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.404e-05/0.4293, allocations: 44.84 kB / 1.232 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001088/0.4304, allocations: 0.703 MB / 1.233 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=111): time 2.405e-06/0.4304, allocations: 4 kB / 1.233 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of matching and sorting (n=111): time 0.003743/0.4342, allocations: 1.657 MB / 1.234 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.248e-05/0.4343, allocations: 192.9 kB / 1.234 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009705/0.4352, allocations: 0.8417 MB / 1.235 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.708e-05/0.4353, allocations: 53.7 kB / 1.235 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004147/0.4358, allocations: 0.6206 MB / 1.236 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/0.436, allocations: 354.9 kB / 1.236 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002922/0.4363, allocations: 210.7 kB / 1.236 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.4364, allocations: 345.9 kB / 1.237 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006753/0.4371, allocations: 378.4 kB / 1.237 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007883/0.4379, allocations: 0.5063 MB / 1.238 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001465/0.4394, allocations: 0.8634 MB / 1.238 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.4394, allocations: 4 kB / 1.238 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002321/0.4417, allocations: 1.153 MB / 1.24 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.4418, allocations: 5.875 kB / 1.24 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4418, allocations: 0 / 1.24 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005669/0.4423, allocations: 92.77 kB / 1.24 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008973/0.4432, allocations: 215.7 kB / 1.24 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001971/0.4452, allocations: 1.643 MB / 1.242 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008397/0.4461, allocations: 130.8 kB / 1.242 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.528e-05/0.4462, allocations: 47.95 kB / 1.242 GB, free: 5.555 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.0006401/0.4468, allocations: 353.3 kB / 1.242 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002975/0.4471, allocations: 114.5 kB / 1.242 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003161/0.4503, allocations: 1.528 MB / 1.244 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.4503, allocations: 12 kB / 1.244 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.4503, allocations: 4 kB / 1.244 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.4504, allocations: 7.969 kB / 1.244 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/0.4518, allocations: 1.38 MB / 1.245 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.4518, allocations: 8 kB / 1.245 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007832/0.4526, allocations: 195.7 kB / 1.245 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004242/0.453, allocations: 68.8 kB / 1.245 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.728e-05/0.4531, allocations: 35.97 kB / 1.245 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4191/0.8722, allocations: 1.67 MB / 1.247 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.8723, allocations: 1.094 kB / 1.247 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002676/0.875, allocations: 1.28 MB / 1.248 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004399/0.8754, allocations: 359.1 kB / 1.249 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/0.8756, allocations: 34.86 kB / 1.249 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008278/0.8764, allocations: 78.91 kB / 1.249 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/0.8766, allocations: 97.88 kB / 1.249 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.664e-05/0.8767, allocations: 53.19 kB / 1.249 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007084/0.8774, allocations: 0.6194 MB / 1.249 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8774, allocations: 1.594 kB / 1.249 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009693/0.8784, allocations: 471 kB / 1.25 GB, free: 191.4 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.003231/0.8816, allocations: 2.371 MB / 1.252 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002773/0.8844, allocations: 1.404 MB / 1.254 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.8844, allocations: 0 / 1.254 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009266/0.8854, allocations: 0.6807 MB / 1.254 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.8865, allocations: 343.4 kB / 1.255 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/0.8979, allocations: 9.159 MB / 1.263 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006759/0.8986, allocations: 1.222 MB / 1.265 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009694/0.8996, allocations: 319.1 kB / 1.265 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006893/0.9003, allocations: 0.6099 MB / 1.266 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/0.9003, allocations: 0 / 1.266 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8578/1.758, allocations: 29.07 MB / 1.294 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/12.84, allocations: 8.797 kB / 1.294 GB, free: 174.9 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)