Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7997/0.7997, allocations: 141.8 MB / 149.3 MB, free: 9.215 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 180.9 kB / 182.2 MB, free: 9.438 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 221.5 MB / 436.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000843/0.000843, allocations: 91.98 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001752/0.001752, allocations: 284.8 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.529e-05/2.532e-05, allocations: 0 / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.467/0.4671, allocations: 82.78 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.004/4.471, allocations: 1.693 GB / 2.45 GB, free: 93.17 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/4.471, allocations: 95.94 kB / 2.45 GB, free: 93.07 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1465/4.618, allocations: 68.9 MB / 2.517 GB, free: 23.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.522e-06/4.618, allocations: 0 / 2.517 GB, free: 23.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.767e-05/4.618, allocations: 28 kB / 2.517 GB, free: 23.88 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.002427/4.62, allocations: 1.255 MB / 2.519 GB, free: 22.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/4.62, allocations: 15.97 kB / 2.519 GB, free: 22.55 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004181/4.625, allocations: 0.6968 MB / 2.519 GB, free: 21.86 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/4.626, allocations: 0.6698 MB / 2.52 GB, free: 21.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.541e-05/4.626, allocations: 35.94 kB / 2.52 GB, free: 21.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/4.626, allocations: 64 kB / 2.52 GB, free: 21.04 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001985/4.628, allocations: 1.417 MB / 2.521 GB, free: 19.62 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/4.63, allocations: 1.024 MB / 2.522 GB, free: 18.54 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/4.63, allocations: 0 / 2.522 GB, free: 18.54 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-05/4.63, allocations: 0 / 2.522 GB, free: 18.54 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/4.63, allocations: 31.95 kB / 2.523 GB, free: 18.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005285/4.635, allocations: 2.944 MB / 2.525 GB, free: 15.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/4.636, allocations: 0.9995 MB / 2.526 GB, free: 14.46 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005571/4.637, allocations: 421.4 kB / 2.527 GB, free: 14.05 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007572/4.638, allocations: 478.4 kB / 2.527 GB, free: 13.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009829/4.639, allocations: 0.5806 MB / 2.528 GB, free: 12.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=100): time 4.739e-06/4.639, allocations: 0 / 2.528 GB, free: 12.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=100): time 0.005118/4.644, allocations: 1.469 MB / 2.529 GB, free: 11.42 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/4.644, allocations: 252.5 kB / 2.529 GB, free: 11.12 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007639/4.645, allocations: 0.4983 MB / 2.53 GB, free: 10.61 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.835e-05/4.645, allocations: 29.7 kB / 2.53 GB, free: 10.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003936/4.645, allocations: 424.3 kB / 2.53 GB, free: 10.15 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00027/4.645, allocations: 315.2 kB / 2.531 GB, free: 9.84 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.726e-05/4.646, allocations: 0 / 2.531 GB, free: 9.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001483/4.646, allocations: 382.8 kB / 2.531 GB, free: 9.457 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004239/4.646, allocations: 318.6 kB / 2.531 GB, free: 9.145 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000547/4.647, allocations: 441.1 kB / 2.532 GB, free: 8.684 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003087/4.65, allocations: 0.8884 MB / 2.533 GB, free: 7.797 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/4.65, allocations: 0 / 2.533 GB, free: 7.797 MB / 0.698 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004449/4.654, allocations: 1.465 MB / 2.534 GB, free: 6.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.441e-05/4.654, allocations: 9.406 kB / 2.534 GB, free: 6.312 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/4.654, allocations: 0 / 2.534 GB, free: 6.312 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005931/4.655, allocations: 84.83 kB / 2.534 GB, free: 6.227 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/4.656, allocations: 251.6 kB / 2.534 GB, free: 5.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/4.658, allocations: 1.449 MB / 2.536 GB, free: 4.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/4.659, allocations: 131.4 kB / 2.536 GB, free: 4.281 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-05/4.659, allocations: 43.95 kB / 2.536 GB, free: 4.238 MB / 0.698 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 (103): * Single equations (assignments): 102 * 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.0002572/4.66, allocations: 112.9 kB / 2.536 GB, free: 4.121 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00476/4.664, allocations: 1.481 MB / 2.538 GB, free: 2.629 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/4.665, allocations: 79.06 kB / 2.538 GB, free: 2.551 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005699/4.67, allocations: 1.791 MB / 2.539 GB, free: 0.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.189e-05/4.67, allocations: 16 kB / 2.539 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/4.67, allocations: 0 / 2.539 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.021e-05/4.67, allocations: 11.94 kB / 2.539 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5536/5.224, allocations: 2.812 MB / 2.542 GB, free: 232.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/5.224, allocations: 4.312 kB / 2.542 GB, free: 232.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001496/5.226, allocations: 246.9 kB / 2.542 GB, free: 232.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005635/5.226, allocations: 88.7 kB / 2.542 GB, free: 232.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001228/5.226, allocations: 23.86 kB / 2.542 GB, free: 232.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001858/5.228, allocations: 1.481 MB / 2.544 GB, free: 231.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/5.228, allocations: 0 / 2.544 GB, free: 231.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006122/5.234, allocations: 1.657 MB / 2.546 GB, free: 231 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000697/5.235, allocations: 318.3 kB / 2.546 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/5.235, allocations: 2.359 kB / 2.546 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/5.236, allocations: 105.8 kB / 2.546 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002767/5.237, allocations: 84.31 kB / 2.546 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/5.237, allocations: 39.8 kB / 2.546 GB, free: 230.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007719/5.238, allocations: 402.2 kB / 2.546 GB, free: 230.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.71e-07/5.238, allocations: 0 / 2.546 GB, free: 230.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001848/5.24, allocations: 404.7 kB / 2.547 GB, free: 230.8 MB / 0.698 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.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 110 * 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.009357/5.249, allocations: 3.219 MB / 2.55 GB, free: 230 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002611/5.252, allocations: 0.9732 MB / 2.551 GB, free: 229.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/5.252, allocations: 2.25 kB / 2.551 GB, free: 229.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00107/5.253, allocations: 0.6211 MB / 2.552 GB, free: 229.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/5.254, allocations: 226.1 kB / 2.552 GB, free: 229.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005548/5.26, allocations: 1.779 MB / 2.553 GB, free: 229.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000648/5.26, allocations: 1.075 MB / 2.555 GB, free: 228.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001615/5.262, allocations: 333.5 kB / 2.555 GB, free: 228.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006677/5.263, allocations: 417.7 kB / 2.555 GB, free: 228.6 MB / 0.698 GB Notification: Performance of SimCode: time 4.298e-06/5.263, allocations: 0 / 2.555 GB, free: 228.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05851/5.321, allocations: 26.5 MB / 2.581 GB, free: 226.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001793/5.322, allocations: 233.6 kB / 2.581 GB, free: 226.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.084/8.405, allocations: 3.938 kB / 2.581 GB, free: 226.5 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)