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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001146/0.001146, allocations: 108 kB / 15.6 MB, free: 132 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.001134/0.001134, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.164/1.164, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.052/2.052, allocations: 390.3 MB / 0.6647 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 64.14 kB / 0.8127 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4663/0.4674, allocations: 140.4 MB / 0.9497 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004337/0.4718, allocations: 4.41 MB / 0.954 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1307/0.6025, allocations: 150.6 MB / 1.101 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006767/0.6032, allocations: 15.94 kB / 1.101 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004799/0.6037, allocations: 174.4 kB / 1.101 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001343/0.6051, allocations: 0.4954 MB / 1.102 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001604/0.6067, allocations: 0.8474 MB / 1.103 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009506/0.6077, allocations: 1.339 MB / 1.104 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007575/0.6084, allocations: 0.7 MB / 1.105 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000434/0.6089, allocations: 0.4983 MB / 1.105 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000472/0.6093, allocations: 0.5367 MB / 1.106 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001485/0.6095, allocations: 128 kB / 1.106 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005978/0.6101, allocations: 471.6 kB / 1.106 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002347/0.6103, allocations: 323 kB / 1.106 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003935/0.6107, allocations: 0.579 MB / 1.107 GB, free: 60 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0013/0.6121, allocations: 1.679 MB / 1.109 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.6121, allocations: 0 / 1.109 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6121, allocations: 0 / 1.109 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.6121, allocations: 0 / 1.109 GB, free: 14.38 MB / 0.8731 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.002131/0.6142, allocations: 1.5 MB / 1.11 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 2.862e-05/0.6143, allocations: 8.031 kB / 1.11 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001425/0.6144, allocations: 152.2 kB / 1.11 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001529/0.6159, allocations: 303.2 kB / 1.111 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008677/0.6168, allocations: 0.7653 MB / 1.111 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.549e-05/0.6169, allocations: 74 kB / 1.111 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.617, allocations: 96 kB / 1.112 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.6187, allocations: 1.066 MB / 1.113 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.6187, allocations: 0 / 1.113 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.215e-05/0.6188, allocations: 44 kB / 1.113 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.6188, allocations: 24 kB / 1.113 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002091/0.6209, allocations: 1.268 MB / 1.114 GB, free: 8.945 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003735/0.6246, allocations: 2.719 MB / 1.117 GB, free: 6.156 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002363/0.627, allocations: 1.029 MB / 1.118 GB, free: 5.105 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007185/0.6277, allocations: 358.6 kB / 1.118 GB, free: 4.754 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.234e-05/0.6278, allocations: 34.48 kB / 1.118 GB, free: 4.723 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001022/0.6288, allocations: 0.5549 MB / 1.118 GB, free: 4.145 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=84): time 3.166e-06/0.6289, allocations: 0 / 1.118 GB, free: 4.145 MB / 0.8731 GB Notification: Performance of matching and sorting (n=84): time 0.003572/0.6324, allocations: 1.383 MB / 1.12 GB, free: 2.734 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.134e-05/0.6325, allocations: 196.9 kB / 1.12 GB, free: 2.5 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000627/0.6332, allocations: 0.6372 MB / 1.121 GB, free: 1.855 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.568e-05/0.6332, allocations: 41.7 kB / 1.121 GB, free: 1.809 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002539/0.6335, allocations: 428.2 kB / 1.121 GB, free: 1.383 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/0.6337, allocations: 272 kB / 1.121 GB, free: 1.113 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002063/0.6339, allocations: 154.5 kB / 1.121 GB, free: 0.957 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.634, allocations: 386.8 kB / 1.122 GB, free: 0.5703 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006814/0.6347, allocations: 301.8 kB / 1.122 GB, free: 280 kB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007653/0.6355, allocations: 418.5 kB / 1.122 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/0.6369, allocations: 0.6827 MB / 1.123 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6369, allocations: 4 kB / 1.123 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002145/0.6391, allocations: 0.9189 MB / 1.124 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.6391, allocations: 4 kB / 1.124 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.6391, allocations: 4 kB / 1.124 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000536/0.6397, allocations: 80.86 kB / 1.124 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007294/0.6404, allocations: 179.7 kB / 1.124 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001775/0.6422, allocations: 1.63 MB / 1.126 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006829/0.6429, allocations: 103.3 kB / 1.126 GB, free: 12.06 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.713e-05/0.6429, allocations: 36.03 kB / 1.126 GB, free: 12.03 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.0003121/0.6433, allocations: 270.2 kB / 1.126 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.6434, allocations: 82.97 kB / 1.126 GB, free: 11.67 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002685/0.6461, allocations: 1.218 MB / 1.128 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.6461, allocations: 8 kB / 1.128 GB, free: 10.44 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.6461, allocations: 3.984 kB / 1.128 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.6461, allocations: 3.984 kB / 1.128 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003444/0.6496, allocations: 2.152 MB / 1.13 GB, free: 8.219 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.6496, allocations: 4 kB / 1.13 GB, free: 8.215 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006889/0.6503, allocations: 171.7 kB / 1.13 GB, free: 8.047 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004111/0.6507, allocations: 76.78 kB / 1.13 GB, free: 7.969 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.279e-05/0.6508, allocations: 35.84 kB / 1.13 GB, free: 7.934 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001628/0.6524, allocations: 1.654 MB / 1.132 GB, free: 6.137 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6524, allocations: 4 kB / 1.132 GB, free: 6.133 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002326/0.6548, allocations: 1.121 MB / 1.133 GB, free: 4.992 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003046/0.6551, allocations: 279.7 kB / 1.133 GB, free: 4.699 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.6552, allocations: 23.98 kB / 1.133 GB, free: 4.676 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007414/0.656, allocations: 81.8 kB / 1.133 GB, free: 4.598 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.6561, allocations: 76.83 kB / 1.133 GB, free: 4.52 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.716e-05/0.6562, allocations: 39.97 kB / 1.133 GB, free: 4.48 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004923/0.6567, allocations: 467 kB / 1.134 GB, free: 4.027 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6567, allocations: 0 / 1.134 GB, free: 4.027 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007186/0.6574, allocations: 327.1 kB / 1.134 GB, free: 3.707 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.003618/0.661, allocations: 2.178 MB / 1.136 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002545/0.6636, allocations: 1.128 MB / 1.137 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6636, allocations: 0 / 1.137 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.6647, allocations: 0.586 MB / 1.138 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.6658, allocations: 284.9 kB / 1.138 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/0.6772, allocations: 7.087 MB / 1.145 GB, free: 8.434 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005508/0.6778, allocations: 1.047 MB / 1.146 GB, free: 7.359 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000822/0.6786, allocations: 278.8 kB / 1.146 GB, free: 7.082 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005164/0.6791, allocations: 423.3 kB / 1.147 GB, free: 6.668 MB / 0.9044 GB Notification: Performance of SimCode: time 3.51e-07/0.6791, allocations: 0 / 1.147 GB, free: 6.668 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04389/0.723, allocations: 21.98 MB / 1.168 GB, free: 1.039 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.961/10.68, allocations: 14.19 kB / 1.168 GB, free: 1.027 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)