Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",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.000832/0.0008319, allocations: 90.28 kB / 15.36 MB, free: 0.7383 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.00513/0.00513, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.18/1.18, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.042/2.042, allocations: 390.9 MB / 0.6664 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003014/0.0003015, allocations: 8 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5037/0.5041, allocations: 142.4 MB / 0.9552 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.003384/0.5075, allocations: 4.017 MB / 0.9591 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1366/0.6441, allocations: 146.7 MB / 1.102 GB, free: 8.109 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006092/0.6447, allocations: 15.88 kB / 1.102 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004886/0.6452, allocations: 134.9 kB / 1.102 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001313/0.6466, allocations: 442.5 kB / 1.103 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.6482, allocations: 0.7292 MB / 1.104 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001222/0.6494, allocations: 1.25 MB / 1.105 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008325/0.6502, allocations: 0.6755 MB / 1.105 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004735/0.6507, allocations: 350.3 kB / 1.106 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004695/0.6512, allocations: 405.6 kB / 1.106 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.58e-05/0.6513, allocations: 24 kB / 1.106 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006268/0.6519, allocations: 367.7 kB / 1.107 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001838/0.6521, allocations: 199 kB / 1.107 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003845/0.6525, allocations: 486.6 kB / 1.107 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.6539, allocations: 1.557 MB / 1.109 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.6539, allocations: 0 / 1.109 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.253e-06/0.6539, allocations: 0 / 1.109 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.6539, allocations: 0 / 1.109 GB, free: 1.484 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002054/0.656, allocations: 1.267 MB / 1.11 GB, free: 176 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.656, allocations: 8.031 kB / 1.11 GB, free: 168 kB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001554/0.6562, allocations: 152.3 kB / 1.11 GB, free: 8 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001549/0.6578, allocations: 319.4 kB / 1.11 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008936/0.6587, allocations: 0.7652 MB / 1.111 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.176e-05/0.6587, allocations: 77.98 kB / 1.111 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.6588, allocations: 92 kB / 1.111 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.6606, allocations: 1.074 MB / 1.112 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.6606, allocations: 0 / 1.112 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-05/0.6607, allocations: 36 kB / 1.112 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.481e-05/0.6607, allocations: 24 kB / 1.112 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/0.6629, allocations: 1.288 MB / 1.114 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003923/0.6668, allocations: 2.742 MB / 1.116 GB, free: 9.438 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002405/0.6692, allocations: 1.024 MB / 1.117 GB, free: 8.387 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007389/0.67, allocations: 370.6 kB / 1.118 GB, free: 8.023 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.63e-05/0.6701, allocations: 38.47 kB / 1.118 GB, free: 7.988 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001031/0.6711, allocations: 0.5627 MB / 1.118 GB, free: 7.41 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=84): time 1.733e-06/0.6711, allocations: 0 / 1.118 GB, free: 7.41 MB / 0.8731 GB Notification: Performance of matching and sorting (n=84): time 0.003581/0.6747, allocations: 1.388 MB / 1.12 GB, free: 5.992 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.769e-05/0.6748, allocations: 196.9 kB / 1.12 GB, free: 5.758 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000731/0.6755, allocations: 0.6449 MB / 1.121 GB, free: 5.109 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.864e-05/0.6756, allocations: 45.7 kB / 1.121 GB, free: 5.059 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002753/0.6759, allocations: 428.2 kB / 1.121 GB, free: 4.633 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/0.6761, allocations: 272 kB / 1.121 GB, free: 4.363 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.976e-05/0.6762, allocations: 65.69 kB / 1.121 GB, free: 4.293 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.6763, allocations: 382.8 kB / 1.122 GB, free: 3.91 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007123/0.677, allocations: 305.8 kB / 1.122 GB, free: 3.609 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007659/0.6778, allocations: 418.5 kB / 1.122 GB, free: 3.176 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001481/0.6793, allocations: 0.6945 MB / 1.123 GB, free: 2.473 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6793, allocations: 7.938 kB / 1.123 GB, free: 2.465 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002169/0.6815, allocations: 0.9228 MB / 1.124 GB, free: 1.527 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.6815, allocations: 8 kB / 1.124 GB, free: 1.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.6815, allocations: 0 / 1.124 GB, free: 1.52 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005468/0.6821, allocations: 84.86 kB / 1.124 GB, free: 1.434 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007381/0.6828, allocations: 175.8 kB / 1.124 GB, free: 1.262 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/0.6846, allocations: 1.524 MB / 1.126 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007268/0.6853, allocations: 126.5 kB / 1.126 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.735e-05/0.6854, allocations: 35.92 kB / 1.126 GB, free: 15.44 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * 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.0003292/0.6857, allocations: 270.3 kB / 1.126 GB, free: 15.17 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/0.6859, allocations: 86.97 kB / 1.126 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002708/0.6886, allocations: 1.222 MB / 1.127 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.709e-06/0.6886, allocations: 12 kB / 1.127 GB, free: 13.83 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.6886, allocations: 0 / 1.127 GB, free: 13.83 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.6887, allocations: 3.984 kB / 1.127 GB, free: 13.83 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003424/0.6921, allocations: 2.168 MB / 1.129 GB, free: 11.6 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.6921, allocations: 0 / 1.129 GB, free: 11.6 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007062/0.6928, allocations: 171.8 kB / 1.13 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004825/0.6933, allocations: 80.78 kB / 1.13 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.224e-05/0.6934, allocations: 31.97 kB / 1.13 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00161/0.695, allocations: 1.552 MB / 1.131 GB, free: 9.629 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.695, allocations: 0 / 1.131 GB, free: 9.629 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00222/0.6972, allocations: 1.125 MB / 1.132 GB, free: 8.484 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003136/0.6975, allocations: 295.8 kB / 1.133 GB, free: 8.176 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.6977, allocations: 16 kB / 1.133 GB, free: 8.16 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00077/0.6984, allocations: 109.6 kB / 1.133 GB, free: 8.055 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.6986, allocations: 80.84 kB / 1.133 GB, free: 7.977 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.687e-05/0.6986, allocations: 35.97 kB / 1.133 GB, free: 7.941 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005158/0.6992, allocations: 471 kB / 1.133 GB, free: 7.488 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.996e-06/0.6992, allocations: 0 / 1.133 GB, free: 7.488 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007005/0.6999, allocations: 327 kB / 1.134 GB, free: 7.168 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (97): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003569/0.7035, allocations: 2.17 MB / 1.136 GB, free: 5.148 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001873/0.7053, allocations: 0.929 MB / 1.137 GB, free: 4.211 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.7054, allocations: 4 kB / 1.137 GB, free: 4.207 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.7064, allocations: 0.5744 MB / 1.137 GB, free: 3.621 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.7076, allocations: 276.9 kB / 1.138 GB, free: 3.355 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0128/0.7204, allocations: 7.591 MB / 1.145 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005675/0.721, allocations: 1.049 MB / 1.146 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0008313/0.7218, allocations: 278.8 kB / 1.146 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005861/0.7224, allocations: 419.2 kB / 1.147 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of SimCode: time 6.21e-07/0.7224, allocations: 0 / 1.147 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4487/1.171, allocations: 20.88 MB / 1.167 GB, free: 5.359 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002768/1.171, allocations: 329.2 kB / 1.167 GB, free: 4.969 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.251/3.423, allocations: 0 / 1.167 GB, free: 4.969 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)