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.8124/0.8124, allocations: 143.4 MB / 158.3 MB, free: 5.781 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.001159/0.001159, allocations: 177 kB / 191.5 MB, free: 5.762 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.339/1.339, allocations: 223.2 MB / 447.7 MB, free: 4.812 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.001004/0.001004, allocations: 90.22 kB / 0.5188 GB, free: 1.172 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00173/0.00173, allocations: 271.1 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004507/0.0004507, allocations: 15.31 kB / 0.6929 GB, free: 59.67 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1619, allocations: 82.78 MB / 0.7737 GB, free: 13.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.482/3.644, allocations: 1.691 GB / 2.465 GB, free: 109.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003902/3.645, allocations: 100.7 kB / 2.465 GB, free: 109.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1208/3.766, allocations: 59.07 MB / 2.523 GB, free: 49.89 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.764e-06/3.766, allocations: 0 / 2.523 GB, free: 49.89 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.852e-05/3.766, allocations: 24 kB / 2.523 GB, free: 49.87 MB / 0.7136 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.001852/3.768, allocations: 1.172 MB / 2.524 GB, free: 48.64 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/3.768, allocations: 8.031 kB / 2.524 GB, free: 48.64 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007964/3.768, allocations: 190.5 kB / 2.524 GB, free: 48.45 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008232/3.769, allocations: 0.6114 MB / 2.525 GB, free: 47.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.353e-05/3.769, allocations: 62 kB / 2.525 GB, free: 47.73 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.715e-05/3.769, allocations: 80 kB / 2.525 GB, free: 47.66 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/3.771, allocations: 0.8442 MB / 2.526 GB, free: 46.77 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/3.771, allocations: 0 / 2.526 GB, free: 46.77 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.018e-05/3.771, allocations: 32 kB / 2.526 GB, free: 46.74 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/3.771, allocations: 20 kB / 2.526 GB, free: 46.72 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/3.772, allocations: 1.061 MB / 2.527 GB, free: 45.66 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003068/3.775, allocations: 2.383 MB / 2.529 GB, free: 43.21 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/3.776, allocations: 0.7267 MB / 2.53 GB, free: 42.46 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.639e-05/3.776, allocations: 28.67 kB / 2.53 GB, free: 42.44 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005892/3.777, allocations: 431.1 kB / 2.53 GB, free: 42 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=71): time 1.964e-06/3.777, allocations: 0 / 2.53 GB, free: 42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=71): time 0.002619/3.78, allocations: 1.07 MB / 2.531 GB, free: 40.9 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.721e-05/3.78, allocations: 247.9 kB / 2.532 GB, free: 40.61 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006382/3.78, allocations: 0.5931 MB / 2.532 GB, free: 40.01 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.155e-05/3.78, allocations: 41.64 kB / 2.532 GB, free: 39.96 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/3.781, allocations: 368.3 kB / 2.532 GB, free: 39.59 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/3.781, allocations: 228.7 kB / 2.533 GB, free: 39.37 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/3.781, allocations: 16 kB / 2.533 GB, free: 39.35 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.259e-05/3.781, allocations: 374.8 kB / 2.533 GB, free: 38.98 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003537/3.781, allocations: 213.2 kB / 2.533 GB, free: 38.77 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004049/3.782, allocations: 331.6 kB / 2.534 GB, free: 38.42 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004005/3.782, allocations: 263.1 kB / 2.534 GB, free: 38.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/3.782, allocations: 0 / 2.534 GB, free: 38.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001421/3.783, allocations: 0.7158 MB / 2.535 GB, free: 37.43 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/3.783, allocations: 4 kB / 2.535 GB, free: 37.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/3.783, allocations: 8 kB / 2.535 GB, free: 37.42 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000587/3.784, allocations: 84.78 kB / 2.535 GB, free: 37.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005434/3.785, allocations: 139.8 kB / 2.535 GB, free: 37.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/3.786, allocations: 1.525 MB / 2.536 GB, free: 35.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006957/3.787, allocations: 79.5 kB / 2.536 GB, free: 35.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.238e-05/3.787, allocations: 27.97 kB / 2.536 GB, free: 35.43 MB / 0.7136 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 () * Number of clocked 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.0005121/3.788, allocations: 247.1 kB / 2.537 GB, free: 35.18 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/3.788, allocations: 75.06 kB / 2.537 GB, free: 35.1 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002037/3.79, allocations: 0.9979 MB / 2.538 GB, free: 34.09 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.373e-06/3.79, allocations: 12 kB / 2.538 GB, free: 34.07 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/3.79, allocations: 0 / 2.538 GB, free: 34.07 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/3.79, allocations: 3.984 kB / 2.538 GB, free: 34.07 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009085/3.791, allocations: 0.849 MB / 2.538 GB, free: 33.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/3.791, allocations: 0 / 2.538 GB, free: 33.17 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005132/3.791, allocations: 143.7 kB / 2.539 GB, free: 33.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004955/3.792, allocations: 84.77 kB / 2.539 GB, free: 32.95 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.732e-05/3.792, allocations: 19.98 kB / 2.539 GB, free: 32.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001451/3.793, allocations: 1.563 MB / 2.54 GB, free: 31.22 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/3.793, allocations: 0 / 2.54 GB, free: 31.22 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/3.795, allocations: 0.8304 MB / 2.541 GB, free: 30.37 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003429/3.795, allocations: 279.8 kB / 2.541 GB, free: 30.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.922e-05/3.795, allocations: 16 kB / 2.541 GB, free: 30.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004953/3.796, allocations: 59.95 kB / 2.541 GB, free: 30 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.909e-05/3.796, allocations: 64.84 kB / 2.541 GB, free: 29.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.863e-05/3.796, allocations: 39.88 kB / 2.542 GB, free: 29.9 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004718/3.797, allocations: 487 kB / 2.542 GB, free: 29.43 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.01e-07/3.797, allocations: 0 / 2.542 GB, free: 29.43 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009349/3.797, allocations: 355.1 kB / 2.542 GB, free: 29.08 MB / 0.7136 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) * Number of clocked states: 0 () * 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.001613/3.799, allocations: 1.063 MB / 2.543 GB, free: 28.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001205/3.8, allocations: 0.7127 MB / 2.544 GB, free: 27.48 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/3.8, allocations: 0 / 2.544 GB, free: 27.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006849/3.801, allocations: 488.3 kB / 2.545 GB, free: 26.99 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008713/3.802, allocations: 241.1 kB / 2.545 GB, free: 26.76 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003103/3.805, allocations: 2.039 MB / 2.547 GB, free: 24.69 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/3.805, allocations: 1.018 MB / 2.548 GB, free: 23.65 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0006997/3.806, allocations: 253.9 kB / 2.548 GB, free: 23.4 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/3.806, allocations: 95.39 kB / 2.548 GB, free: 23.3 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/3.806, allocations: 0 / 2.548 GB, free: 23.3 MB / 0.7136 GB Notification: Performance of Templates: time 0.02418/3.83, allocations: 20.08 MB / 2.568 GB, free: 3.363 MB / 0.7136 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)