Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.8266/0.8266, allocations: 141.8 MB / 149.3 MB, free: 9.242 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.001094/0.001094, allocations: 165 kB / 182.2 MB, free: 9.477 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.566/1.566, allocations: 221.5 MB / 436.4 MB, free: 13.36 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.001062/0.001062, allocations: 92.11 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001811/0.001811, allocations: 283 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.121e-05/2.133e-05, allocations: 4 kB / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5056/0.5057, allocations: 82.78 MB / 0.7575 GB, free: 31.94 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.764/4.27, allocations: 1.691 GB / 2.449 GB, free: 94.74 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/4.27, allocations: 91.94 kB / 2.449 GB, free: 94.65 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1444/4.414, allocations: 67.24 MB / 2.514 GB, free: 27.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.665e-06/4.414, allocations: 0 / 2.514 GB, free: 27.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001152/4.415, allocations: 24 kB / 2.514 GB, free: 27.13 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.002472/4.417, allocations: 1.122 MB / 2.515 GB, free: 25.95 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/4.417, allocations: 8.031 kB / 2.515 GB, free: 25.95 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/4.418, allocations: 218.4 kB / 2.516 GB, free: 25.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/4.42, allocations: 0.6348 MB / 2.516 GB, free: 25.05 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.813e-05/4.42, allocations: 28 kB / 2.516 GB, free: 25.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/4.42, allocations: 55.94 kB / 2.516 GB, free: 24.97 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001568/4.422, allocations: 1.027 MB / 2.517 GB, free: 23.94 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/4.423, allocations: 0.7858 MB / 2.518 GB, free: 23.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/4.423, allocations: 3.938 kB / 2.518 GB, free: 23.11 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.181e-05/4.423, allocations: 4 kB / 2.518 GB, free: 23.11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/4.423, allocations: 20 kB / 2.518 GB, free: 23.09 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004192/4.427, allocations: 2.419 MB / 2.521 GB, free: 20.62 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/4.429, allocations: 0.7301 MB / 2.521 GB, free: 19.86 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003315/4.429, allocations: 243.2 kB / 2.521 GB, free: 19.61 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006225/4.43, allocations: 470.3 kB / 2.522 GB, free: 19.06 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005514/4.43, allocations: 393 kB / 2.522 GB, free: 18.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.667e-06/4.43, allocations: 0 / 2.522 GB, free: 18.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.004226/4.434, allocations: 1.191 MB / 2.523 GB, free: 17.46 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.044e-05/4.434, allocations: 248.1 kB / 2.524 GB, free: 17.16 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007183/4.435, allocations: 0.4905 MB / 2.524 GB, free: 16.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.067e-05/4.435, allocations: 29.7 kB / 2.524 GB, free: 16.63 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002929/4.436, allocations: 412 kB / 2.525 GB, free: 16.22 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/4.436, allocations: 232.5 kB / 2.525 GB, free: 15.99 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/4.436, allocations: 0 / 2.525 GB, free: 15.99 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.458e-05/4.436, allocations: 374.8 kB / 2.525 GB, free: 15.61 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/4.436, allocations: 185.5 kB / 2.525 GB, free: 15.43 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003203/4.437, allocations: 299.5 kB / 2.526 GB, free: 15.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002938/4.439, allocations: 0.7656 MB / 2.526 GB, free: 14.35 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/4.439, allocations: 0 / 2.526 GB, free: 14.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.004066/4.444, allocations: 1.187 MB / 2.528 GB, free: 13.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/4.444, allocations: 5.406 kB / 2.528 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/4.444, allocations: 4.062 kB / 2.528 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000586/4.444, allocations: 80.72 kB / 2.528 GB, free: 13.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005821/4.445, allocations: 143.8 kB / 2.528 GB, free: 12.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/4.446, allocations: 1.449 MB / 2.529 GB, free: 11.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006301/4.447, allocations: 67.55 kB / 2.529 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-05/4.447, allocations: 27.98 kB / 2.529 GB, free: 11.25 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (75): * Single equations (assignments): 74 * 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.0001668/4.447, allocations: 116.8 kB / 2.529 GB, free: 11.12 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004054/4.451, allocations: 1.195 MB / 2.531 GB, free: 9.918 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/4.451, allocations: 71.16 kB / 2.531 GB, free: 9.848 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004438/4.456, allocations: 1.437 MB / 2.532 GB, free: 8.398 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/4.456, allocations: 15.95 kB / 2.532 GB, free: 8.383 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/4.456, allocations: 0 / 2.532 GB, free: 8.383 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/4.456, allocations: 3.984 kB / 2.532 GB, free: 8.379 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005677/4.462, allocations: 2.245 MB / 2.534 GB, free: 6.082 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.585e-06/4.462, allocations: 0 / 2.534 GB, free: 6.082 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005861/4.462, allocations: 151.9 kB / 2.534 GB, free: 5.934 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005013/4.463, allocations: 88.75 kB / 2.534 GB, free: 5.844 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-05/4.463, allocations: 15.98 kB / 2.534 GB, free: 5.828 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001429/4.464, allocations: 1.473 MB / 2.536 GB, free: 4.234 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/4.464, allocations: 0 / 2.536 GB, free: 4.234 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004176/4.469, allocations: 1.368 MB / 2.537 GB, free: 2.848 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004515/4.469, allocations: 275.8 kB / 2.537 GB, free: 2.559 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001855/4.469, allocations: 0 / 2.537 GB, free: 2.559 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006949/4.47, allocations: 55.94 kB / 2.538 GB, free: 2.504 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/4.47, allocations: 60.66 kB / 2.538 GB, free: 2.445 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.106e-05/4.47, allocations: 27.98 kB / 2.538 GB, free: 2.418 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005362/4.471, allocations: 406.9 kB / 2.538 GB, free: 2.023 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.5e-07/4.471, allocations: 4 kB / 2.538 GB, free: 2.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001193/4.472, allocations: 358.9 kB / 2.538 GB, free: 1.668 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 (84): * Single equations (assignments): 81 * 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.4188/4.891, allocations: 2.9 MB / 2.541 GB, free: 233.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002571/4.893, allocations: 0.6435 MB / 2.542 GB, free: 233.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/4.893, allocations: 4.594 kB / 2.542 GB, free: 233.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00116/4.895, allocations: 446.3 kB / 2.542 GB, free: 233.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/4.896, allocations: 211 kB / 2.542 GB, free: 233.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006224/4.903, allocations: 1.536 MB / 2.544 GB, free: 233.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/4.904, allocations: 1.039 MB / 2.545 GB, free: 232.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001685/4.905, allocations: 271.6 kB / 2.545 GB, free: 232.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007875/4.906, allocations: 373.1 kB / 2.546 GB, free: 232.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.292e-06/4.906, allocations: 0 / 2.546 GB, free: 232.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05821/4.964, allocations: 23.45 MB / 2.568 GB, free: 231.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/4.965, allocations: 227.6 kB / 2.569 GB, free: 230.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.806/7.771, allocations: 0 / 2.569 GB, free: 230.8 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)