Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.BrighteningCoefficient,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",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.00118/0.00118, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001152/0.001152, allocations: 192.3 kB / 16.25 MB, free: 6.621 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.178/1.178, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.015/2.015, allocations: 390.2 MB / 0.6644 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 67.81 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4615/0.4626, allocations: 140.4 MB / 0.9492 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.00442/0.4671, allocations: 4.65 MB / 0.9538 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1234/0.5905, allocations: 148.5 MB / 1.099 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007208/0.5912, allocations: 15.94 kB / 1.099 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005361/0.5918, allocations: 146.8 kB / 1.099 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00147/0.5933, allocations: 456.2 kB / 1.099 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001753/0.595, allocations: 0.8405 MB / 1.1 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001289/0.5963, allocations: 1.492 MB / 1.102 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008525/0.5972, allocations: 0.7898 MB / 1.102 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000612/0.5978, allocations: 0.5839 MB / 1.103 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005816/0.5984, allocations: 0.6263 MB / 1.104 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001707/0.5986, allocations: 140 kB / 1.104 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007091/0.5993, allocations: 0.4996 MB / 1.104 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002488/0.5996, allocations: 358.9 kB / 1.105 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004635/0.6, allocations: 0.6529 MB / 1.105 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.6015, allocations: 1.827 MB / 1.107 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.6016, allocations: 4 kB / 1.107 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.012e-06/0.6016, allocations: 3.938 kB / 1.107 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.557e-05/0.6016, allocations: 0 / 1.107 GB, free: 15.79 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.002708/0.6043, allocations: 1.649 MB / 1.109 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.6044, allocations: 16.03 kB / 1.109 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001656/0.6045, allocations: 169.1 kB / 1.109 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004576/0.6091, allocations: 0.7561 MB / 1.11 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009703/0.6101, allocations: 0.816 MB / 1.11 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.153e-05/0.6101, allocations: 78.2 kB / 1.11 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.6103, allocations: 108 kB / 1.111 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002797/0.6131, allocations: 1.432 MB / 1.112 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.6131, allocations: 0 / 1.112 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.6133, allocations: 48 kB / 1.112 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.6133, allocations: 28 kB / 1.112 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004031/0.6173, allocations: 1.885 MB / 1.114 GB, free: 8.641 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005139/0.6225, allocations: 3.272 MB / 1.117 GB, free: 5.289 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002904/0.6254, allocations: 1.368 MB / 1.118 GB, free: 3.898 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001308/0.6267, allocations: 0.5972 MB / 1.119 GB, free: 3.297 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005504/0.6273, allocations: 486.5 kB / 1.119 GB, free: 2.73 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001659/0.6289, allocations: 0.8048 MB / 1.12 GB, free: 1.906 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=109): time 2.084e-06/0.6289, allocations: 0 / 1.12 GB, free: 1.906 MB / 0.8731 GB Notification: Performance of matching and sorting (n=109): time 0.005625/0.6346, allocations: 1.965 MB / 1.122 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.6347, allocations: 192.9 kB / 1.122 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.6358, allocations: 0.6566 MB / 1.123 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002395/0.636, allocations: 45.7 kB / 1.123 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003891/0.6364, allocations: 444.5 kB / 1.123 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003742/0.6368, allocations: 358.8 kB / 1.124 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004327/0.6373, allocations: 194.5 kB / 1.124 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.6375, allocations: 402.7 kB / 1.124 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001962/0.6394, allocations: 481.7 kB / 1.125 GB, free: 13.1 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002047/0.6415, allocations: 0.6047 MB / 1.125 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002985/0.6445, allocations: 1.054 MB / 1.126 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6445, allocations: 0 / 1.126 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003266/0.6478, allocations: 1.325 MB / 1.128 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.6478, allocations: 8 kB / 1.128 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.6478, allocations: 64 / 1.128 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005211/0.6483, allocations: 88.84 kB / 1.128 GB, free: 9.961 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.6496, allocations: 255.6 kB / 1.128 GB, free: 9.711 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00167/0.6512, allocations: 1.638 MB / 1.13 GB, free: 7.926 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.6523, allocations: 161.1 kB / 1.13 GB, free: 7.77 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.169e-05/0.6524, allocations: 43.97 kB / 1.13 GB, free: 7.727 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (116): * Single equations (assignments): 115 * 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.000364/0.6527, allocations: 299.5 kB / 1.13 GB, free: 7.426 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.6529, allocations: 90.88 kB / 1.13 GB, free: 7.336 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003928/0.6568, allocations: 1.672 MB / 1.132 GB, free: 5.641 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.6569, allocations: 12 kB / 1.132 GB, free: 5.629 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.6569, allocations: 0 / 1.132 GB, free: 5.629 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.6569, allocations: 11.91 kB / 1.132 GB, free: 5.617 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005001/0.6619, allocations: 2.859 MB / 1.135 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.6619, allocations: 0 / 1.135 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/0.6631, allocations: 251.6 kB / 1.135 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003731/0.6634, allocations: 76.78 kB / 1.135 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.024e-05/0.6635, allocations: 31.97 kB / 1.135 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001506/0.665, allocations: 1.662 MB / 1.137 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.6651, allocations: 0 / 1.137 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003368/0.6684, allocations: 1.527 MB / 1.138 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00034/0.6688, allocations: 323.4 kB / 1.138 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.6689, allocations: 23.98 kB / 1.138 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.6699, allocations: 123.9 kB / 1.139 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.6701, allocations: 84.88 kB / 1.139 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.634e-05/0.6702, allocations: 47.95 kB / 1.139 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004544/0.6707, allocations: 479 kB / 1.139 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6707, allocations: 0 / 1.139 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000761/0.6714, allocations: 379.1 kB / 1.14 GB, free: 13.54 MB / 0.9044 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 (122): * Single equations (assignments): 116 * 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.004674/0.6761, allocations: 2.608 MB / 1.142 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003981/0.6801, allocations: 1.616 MB / 1.144 GB, free: 9.457 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.6801, allocations: 0 / 1.144 GB, free: 9.457 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001679/0.6818, allocations: 0.8163 MB / 1.144 GB, free: 8.629 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.6829, allocations: 306.2 kB / 1.145 GB, free: 8.355 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01582/0.6987, allocations: 9.069 MB / 1.154 GB, free: 15.07 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005097/0.6992, allocations: 1.09 MB / 1.155 GB, free: 13.95 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001215/0.7005, allocations: 339.6 kB / 1.155 GB, free: 13.62 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006513/0.7011, allocations: 467.2 kB / 1.155 GB, free: 13.16 MB / 0.92 GB Notification: Performance of SimCode: time 2.31e-07/0.7011, allocations: 0 / 1.155 GB, free: 13.16 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.042/1.743, allocations: 25.02 MB / 1.18 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002463/1.743, allocations: 332.1 kB / 1.18 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.213/3.957, allocations: 6.812 kB / 1.18 GB, free: 4.203 MB / 0.9356 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)