Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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: translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7587/0.7587, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009435/0.0009435, allocations: 181 kB / 187.3 MB, free: 11.87 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.414/1.414, allocations: 221.3 MB / 441.4 MB, free: 4.586 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.0008256/0.0008256, allocations: 94.97 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001729/0.001729, allocations: 274.3 kB / 0.5939 GB, free: 7.941 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.369e-05/3.371e-05, allocations: 4 kB / 0.6835 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4474/0.4475, allocations: 82.75 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.762/5.21, allocations: 1.691 GB / 2.455 GB, free: 51.65 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003954/5.211, allocations: 102.9 kB / 2.456 GB, free: 51.59 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6802/5.891, allocations: 58.76 MB / 2.513 GB, free: 235.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.735e-06/5.891, allocations: 0 / 2.513 GB, free: 235.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.672e-05/5.891, allocations: 19.39 kB / 2.513 GB, free: 235.9 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002303/5.893, allocations: 1.063 MB / 2.514 GB, free: 235.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/5.893, allocations: 10.09 kB / 2.514 GB, free: 235.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/5.894, allocations: 185.1 kB / 2.514 GB, free: 235.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/5.896, allocations: 0.606 MB / 2.515 GB, free: 235.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-05/5.896, allocations: 60.5 kB / 2.515 GB, free: 235.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/5.896, allocations: 73.06 kB / 2.515 GB, free: 235.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/5.898, allocations: 0.8242 MB / 2.516 GB, free: 234.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/5.898, allocations: 4.469 kB / 2.516 GB, free: 234.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-05/5.898, allocations: 34.5 kB / 2.516 GB, free: 234.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.429e-05/5.898, allocations: 18.66 kB / 2.516 GB, free: 234.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002077/5.9, allocations: 1.01 MB / 2.517 GB, free: 234.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004651/5.905, allocations: 2.382 MB / 2.519 GB, free: 234.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/5.906, allocations: 0.6859 MB / 2.52 GB, free: 234.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004486/5.906, allocations: 254.6 kB / 2.52 GB, free: 234.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.53e-05/5.906, allocations: 30.98 kB / 2.52 GB, free: 234.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007311/5.907, allocations: 405.2 kB / 2.52 GB, free: 234.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=71): time 3.587e-06/5.907, allocations: 0 / 2.52 GB, free: 234.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=71): time 0.001833/5.909, allocations: 0.6699 MB / 2.521 GB, free: 234 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/5.909, allocations: 243.8 kB / 2.521 GB, free: 233.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009678/5.91, allocations: 0.5771 MB / 2.522 GB, free: 233.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.926e-05/5.91, allocations: 37.48 kB / 2.522 GB, free: 233.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003392/5.91, allocations: 372.4 kB / 2.522 GB, free: 233.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/5.911, allocations: 232.9 kB / 2.522 GB, free: 233.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/5.911, allocations: 14.22 kB / 2.522 GB, free: 233.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001539/5.911, allocations: 386.2 kB / 2.523 GB, free: 232.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00045/5.911, allocations: 192.9 kB / 2.523 GB, free: 232.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006165/5.912, allocations: 304.9 kB / 2.523 GB, free: 232.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005562/5.913, allocations: 241.5 kB / 2.524 GB, free: 232.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/5.913, allocations: 0.6875 kB / 2.524 GB, free: 232.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001957/5.915, allocations: 0.6824 MB / 2.524 GB, free: 232.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/5.915, allocations: 4.625 kB / 2.524 GB, free: 232.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/5.915, allocations: 0.9688 kB / 2.524 GB, free: 232.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006105/5.915, allocations: 84.55 kB / 2.524 GB, free: 232.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006502/5.916, allocations: 140.7 kB / 2.524 GB, free: 232.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/5.918, allocations: 1.512 MB / 2.526 GB, free: 231.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00067/5.918, allocations: 84.88 kB / 2.526 GB, free: 231.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.595e-05/5.918, allocations: 27.44 kB / 2.526 GB, free: 231.4 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 (74): * Single equations (assignments): 73 * 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.0001873/5.919, allocations: 142.7 kB / 2.526 GB, free: 231.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/5.919, allocations: 76.28 kB / 2.526 GB, free: 231.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001974/5.921, allocations: 0.9405 MB / 2.527 GB, free: 231.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/5.921, allocations: 10.16 kB / 2.527 GB, free: 231.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/5.921, allocations: 0 / 2.527 GB, free: 231.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/5.921, allocations: 3.281 kB / 2.527 GB, free: 231.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/5.922, allocations: 0.8458 MB / 2.528 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/5.922, allocations: 0 / 2.528 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00051/5.922, allocations: 138.1 kB / 2.528 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004708/5.923, allocations: 92.03 kB / 2.528 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.691e-05/5.923, allocations: 24.81 kB / 2.528 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001479/5.924, allocations: 1.543 MB / 2.53 GB, free: 229.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/5.924, allocations: 0 / 2.53 GB, free: 229.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/5.926, allocations: 0.7873 MB / 2.531 GB, free: 229.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004063/5.926, allocations: 281.8 kB / 2.531 GB, free: 229.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.731e-05/5.926, allocations: 16.06 kB / 2.531 GB, free: 229.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004947/5.927, allocations: 68.11 kB / 2.531 GB, free: 229.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/5.927, allocations: 55.08 kB / 2.531 GB, free: 229.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.833e-05/5.927, allocations: 28.67 kB / 2.531 GB, free: 229.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000582/5.928, allocations: 478.6 kB / 2.531 GB, free: 229.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.8e-07/5.928, allocations: 2.25 kB / 2.531 GB, free: 229.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001135/5.929, allocations: 350.5 kB / 2.532 GB, free: 229.2 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.001949/5.931, allocations: 1.027 MB / 2.533 GB, free: 229 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001239/5.932, allocations: 0.668 MB / 2.533 GB, free: 228.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/5.932, allocations: 0 / 2.533 GB, free: 228.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006551/5.933, allocations: 461.2 kB / 2.534 GB, free: 228.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/5.934, allocations: 248.2 kB / 2.534 GB, free: 228.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003244/5.937, allocations: 1.306 MB / 2.535 GB, free: 228.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004582/5.938, allocations: 1.008 MB / 2.536 GB, free: 227.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000875/5.938, allocations: 255.9 kB / 2.537 GB, free: 227.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/5.939, allocations: 92.19 kB / 2.537 GB, free: 227.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.803e-06/5.939, allocations: 4 kB / 2.537 GB, free: 227.7 MB / 0.698 GB Notification: Performance of Templates: time 0.0324/5.971, allocations: 21.74 MB / 2.558 GB, free: 226.2 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)