Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.001186/0.001186, 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.001156/0.001156, allocations: 192.5 kB / 16.14 MB, free: 6.711 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.195/1.195, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.088/2.088, allocations: 390.2 MB / 0.6643 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001298, allocations: 64.09 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5055/0.5068, allocations: 140.4 MB / 0.949 GB, free: 9.02 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.004604/0.5114, allocations: 4.512 MB / 0.9535 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1377/0.6492, allocations: 148.4 MB / 1.098 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007535/0.6499, allocations: 15.94 kB / 1.098 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005621/0.6505, allocations: 138.9 kB / 1.098 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001482/0.652, allocations: 457 kB / 1.099 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001739/0.6538, allocations: 0.7552 MB / 1.1 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001254/0.655, allocations: 1.292 MB / 1.101 GB, free: 5.988 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007903/0.6558, allocations: 0.6211 MB / 1.102 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005517/0.6564, allocations: 434.2 kB / 1.102 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005383/0.657, allocations: 0.4976 MB / 1.102 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.6571, allocations: 60 kB / 1.102 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007437/0.6579, allocations: 431.6 kB / 1.103 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000242/0.6581, allocations: 250.9 kB / 1.103 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004962/0.6586, allocations: 0.5166 MB / 1.104 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001435/0.6601, allocations: 1.597 MB / 1.105 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.6601, allocations: 0 / 1.105 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.72e-07/0.6601, allocations: 0 / 1.105 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.596e-05/0.6601, allocations: 0 / 1.105 GB, free: 1.57 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002612/0.6627, allocations: 1.487 MB / 1.107 GB, free: 36 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.6628, allocations: 12.03 kB / 1.107 GB, free: 24 kB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001633/0.6629, allocations: 143.8 kB / 1.107 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008446/0.6638, allocations: 195.3 kB / 1.107 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009323/0.6647, allocations: 0.7661 MB / 1.108 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.029e-05/0.6648, allocations: 69.94 kB / 1.108 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.6649, allocations: 84 kB / 1.108 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.6663, allocations: 0.9846 MB / 1.109 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.6664, allocations: 3.984 kB / 1.109 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.047e-05/0.6665, allocations: 40 kB / 1.109 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.6665, allocations: 20 kB / 1.109 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001668/0.6681, allocations: 1.159 MB / 1.11 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003777/0.6719, allocations: 2.703 MB / 1.113 GB, free: 9.699 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001965/0.6739, allocations: 0.9823 MB / 1.114 GB, free: 8.691 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005451/0.6745, allocations: 331.2 kB / 1.114 GB, free: 8.363 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.139e-05/0.6745, allocations: 34.67 kB / 1.114 GB, free: 8.332 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009023/0.6755, allocations: 0.5314 MB / 1.115 GB, free: 7.781 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=88): time 2.164e-06/0.6755, allocations: 0 / 1.115 GB, free: 7.781 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88): time 0.002962/0.6784, allocations: 1.29 MB / 1.116 GB, free: 6.465 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.538e-05/0.6785, allocations: 196.9 kB / 1.116 GB, free: 6.23 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006896/0.6792, allocations: 0.6489 MB / 1.117 GB, free: 5.574 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.898e-05/0.6793, allocations: 49.64 kB / 1.117 GB, free: 5.52 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002583/0.6796, allocations: 400.5 kB / 1.117 GB, free: 5.121 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.00019/0.6798, allocations: 287.9 kB / 1.117 GB, free: 4.836 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002325/0.68, allocations: 166.5 kB / 1.117 GB, free: 4.664 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.6801, allocations: 390.7 kB / 1.118 GB, free: 4.273 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000492/0.6806, allocations: 265.9 kB / 1.118 GB, free: 4.016 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005851/0.6812, allocations: 390.5 kB / 1.118 GB, free: 3.609 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.6823, allocations: 0.6281 MB / 1.119 GB, free: 2.969 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.6823, allocations: 4 kB / 1.119 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001794/0.6841, allocations: 0.8604 MB / 1.12 GB, free: 2.094 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.6841, allocations: 5.719 kB / 1.12 GB, free: 2.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.6842, allocations: 0 / 1.12 GB, free: 2.09 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000554/0.6847, allocations: 88.77 kB / 1.12 GB, free: 2 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006266/0.6853, allocations: 167.8 kB / 1.12 GB, free: 1.836 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/0.6871, allocations: 1.513 MB / 1.122 GB, free: 188 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006455/0.6878, allocations: 107.2 kB / 1.122 GB, free: 80 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.441e-05/0.6878, allocations: 31.97 kB / 1.122 GB, free: 48 kB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 19 (solAzi.outsidePolarCircle,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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0003443/0.6882, allocations: 279.3 kB / 1.122 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.6884, allocations: 90.88 kB / 1.122 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002413/0.6908, allocations: 1.195 MB / 1.123 GB, free: 14.47 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.6908, allocations: 12 kB / 1.123 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.6908, allocations: 0 / 1.123 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.6908, allocations: 3.984 kB / 1.123 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003067/0.6939, allocations: 2.106 MB / 1.125 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.6939, allocations: 0 / 1.125 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006086/0.6945, allocations: 171.8 kB / 1.126 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004755/0.695, allocations: 84.77 kB / 1.126 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.828e-05/0.6951, allocations: 27.98 kB / 1.126 GB, free: 12.01 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001607/0.6967, allocations: 1.544 MB / 1.127 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.6967, allocations: 4.031 kB / 1.127 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001966/0.6987, allocations: 1.082 MB / 1.128 GB, free: 9.219 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003138/0.699, allocations: 303.5 kB / 1.128 GB, free: 8.902 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.6991, allocations: 23.98 kB / 1.129 GB, free: 8.879 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006587/0.6998, allocations: 69.33 kB / 1.129 GB, free: 8.812 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.6999, allocations: 76.89 kB / 1.129 GB, free: 8.734 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.148e-05/0.7, allocations: 39.97 kB / 1.129 GB, free: 8.695 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004974/0.7005, allocations: 483 kB / 1.129 GB, free: 8.227 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7005, allocations: 0 / 1.129 GB, free: 8.227 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007203/0.7013, allocations: 331.2 kB / 1.129 GB, free: 7.902 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.003215/0.7045, allocations: 2.16 MB / 1.132 GB, free: 5.898 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001485/0.706, allocations: 0.8702 MB / 1.132 GB, free: 5.016 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.706, allocations: 0 / 1.132 GB, free: 5.016 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008778/0.7069, allocations: 0.559 MB / 1.133 GB, free: 4.449 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.7079, allocations: 276.4 kB / 1.133 GB, free: 4.188 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/0.7192, allocations: 7.319 MB / 1.14 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005563/0.7198, allocations: 1.055 MB / 1.141 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007606/0.7205, allocations: 271.1 kB / 1.142 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005238/0.7211, allocations: 415.3 kB / 1.142 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of SimCode: time 3.11e-07/0.7211, allocations: 0 / 1.142 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.525/1.246, allocations: 21.48 MB / 1.163 GB, free: 5.84 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000283/1.246, allocations: 318.8 kB / 1.163 GB, free: 5.453 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.474/3.72, allocations: 0 / 1.163 GB, free: 5.453 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)