Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.717/1.717, allocations: 289.9 MB / 297.4 MB, free: 6.422 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 176.9 kB / 366.7 MB, free: 1.707 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.726/1.726, allocations: 205.3 MB / 0.626 GB, free: 7.199 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008714/0.0008713, allocations: 72.84 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.423e-05/2.445e-05, allocations: 4 kB / 0.8598 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8496/0.8496, allocations: 116.3 MB / 0.9733 GB, free: 76.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.371/6.221, allocations: 2.074 GB / 3.047 GB, free: 55.31 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003306/6.221, allocations: 90.45 kB / 3.047 GB, free: 55.22 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8758/7.097, allocations: 67.27 MB / 3.113 GB, free: 317 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.954e-06/7.097, allocations: 1.219 kB / 3.113 GB, free: 317 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.952e-05/7.097, allocations: 29.42 kB / 3.113 GB, free: 317 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.002938/7.1, allocations: 1.214 MB / 3.114 GB, free: 316.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.528e-05/7.1, allocations: 10.25 kB / 3.114 GB, free: 316.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004503/7.105, allocations: 0.6584 MB / 3.115 GB, free: 316.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/7.106, allocations: 0.6721 MB / 3.116 GB, free: 316.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.268e-05/7.107, allocations: 34.19 kB / 3.116 GB, free: 316.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/7.107, allocations: 56.75 kB / 3.116 GB, free: 316.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003177/7.11, allocations: 1.395 MB / 3.117 GB, free: 316.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00242/7.112, allocations: 1.001 MB / 3.118 GB, free: 315.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3e-05/7.112, allocations: 1.219 kB / 3.118 GB, free: 315.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/7.113, allocations: 1.094 kB / 3.118 GB, free: 315.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.821e-05/7.113, allocations: 26.97 kB / 3.118 GB, free: 315.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007177/7.12, allocations: 2.946 MB / 3.121 GB, free: 315.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/7.122, allocations: 0.9242 MB / 3.122 GB, free: 315.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007477/7.122, allocations: 416 kB / 3.122 GB, free: 315.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006919/7.123, allocations: 476.9 kB / 3.123 GB, free: 314.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001163/7.124, allocations: 0.574 MB / 3.123 GB, free: 314.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=99): time 3.607e-06/7.124, allocations: 0 / 3.123 GB, free: 314.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=99): time 0.005156/7.129, allocations: 1.399 MB / 3.125 GB, free: 314.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/7.129, allocations: 247.9 kB / 3.125 GB, free: 314.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009913/7.13, allocations: 0.499 MB / 3.125 GB, free: 314 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.113e-05/7.131, allocations: 27.66 kB / 3.125 GB, free: 314 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00054/7.131, allocations: 416.3 kB / 3.126 GB, free: 313.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003824/7.132, allocations: 318.9 kB / 3.126 GB, free: 313.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/7.132, allocations: 0 / 3.126 GB, free: 313.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002223/7.132, allocations: 381.7 kB / 3.126 GB, free: 313.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006244/7.132, allocations: 314.1 kB / 3.127 GB, free: 313.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008331/7.133, allocations: 434.1 kB / 3.127 GB, free: 313.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003393/7.137, allocations: 0.8115 MB / 3.128 GB, free: 313.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/7.137, allocations: 3.375 kB / 3.128 GB, free: 313.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.004976/7.142, allocations: 1.403 MB / 3.129 GB, free: 313.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/7.142, allocations: 7.406 kB / 3.129 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/7.142, allocations: 0.9688 kB / 3.129 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006395/7.142, allocations: 84.62 kB / 3.129 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/7.144, allocations: 233.3 kB / 3.13 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/7.146, allocations: 1.45 MB / 3.131 GB, free: 311.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/7.147, allocations: 123.7 kB / 3.131 GB, free: 311.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/7.147, allocations: 41.83 kB / 3.131 GB, free: 311.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002672/7.147, allocations: 122.4 kB / 3.131 GB, free: 311.7 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004629/7.152, allocations: 1.396 MB / 3.133 GB, free: 311.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/7.152, allocations: 77.72 kB / 3.133 GB, free: 311.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005271/7.158, allocations: 1.734 MB / 3.134 GB, free: 311.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/7.158, allocations: 11 kB / 3.135 GB, free: 311.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/7.158, allocations: 1.562 kB / 3.135 GB, free: 311.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/7.158, allocations: 3.891 kB / 3.135 GB, free: 311.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001498/7.159, allocations: 0.9504 MB / 3.135 GB, free: 311.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/7.159, allocations: 0 / 3.135 GB, free: 311.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/7.16, allocations: 254.2 kB / 3.136 GB, free: 311.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004893/7.161, allocations: 82.2 kB / 3.136 GB, free: 311.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-05/7.161, allocations: 21.88 kB / 3.136 GB, free: 311.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001589/7.163, allocations: 1.482 MB / 3.137 GB, free: 310 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/7.163, allocations: 0 / 3.137 GB, free: 310 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004767/7.167, allocations: 1.514 MB / 3.139 GB, free: 309.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005094/7.168, allocations: 316.5 kB / 3.139 GB, free: 309.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/7.168, allocations: 1.906 kB / 3.139 GB, free: 309.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/7.169, allocations: 102.5 kB / 3.139 GB, free: 309.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/7.169, allocations: 75.55 kB / 3.139 GB, free: 309.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/7.169, allocations: 46.34 kB / 3.139 GB, free: 309.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006486/7.17, allocations: 403.6 kB / 3.14 GB, free: 309.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/7.17, allocations: 0 / 3.14 GB, free: 309.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001711/7.172, allocations: 367 kB / 3.14 GB, free: 309.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.007258/7.179, allocations: 3.034 MB / 3.143 GB, free: 308.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002071/7.181, allocations: 0.9666 MB / 3.144 GB, free: 308.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/7.181, allocations: 1.281 kB / 3.144 GB, free: 308.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001089/7.182, allocations: 0.6196 MB / 3.144 GB, free: 307.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/7.184, allocations: 221 kB / 3.145 GB, free: 307.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00488/7.188, allocations: 1.731 MB / 3.146 GB, free: 307.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006825/7.189, allocations: 1.072 MB / 3.147 GB, free: 306.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001569/7.191, allocations: 321 kB / 3.148 GB, free: 306.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007036/7.191, allocations: 424 kB / 3.148 GB, free: 306 MB / 0.948 GB Notification: Performance of SimCode: time 1.292e-06/7.191, allocations: 0 / 3.148 GB, free: 306 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06339/7.255, allocations: 26.05 MB / 3.174 GB, free: 302.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/7.255, allocations: 223.5 kB / 3.174 GB, free: 302.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.991/10.25, allocations: 0 / 3.174 GB, free: 302.3 MB / 0.948 GB (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)