Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.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.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9061/0.9061, allocations: 141.8 MB / 149.3 MB, free: 9.207 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.001224/0.001224, allocations: 172.8 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.512/1.512, allocations: 221.5 MB / 436.4 MB, free: 13.24 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.0009797/0.0009799, allocations: 80.17 kB / 0.5074 GB, free: 10.09 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001925/0.001925, allocations: 277.3 kB / 0.5889 GB, free: 54.63 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.381e-05/1.385e-05, allocations: 0 / 0.6765 GB, free: 12.8 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5047/0.5048, allocations: 82.78 MB / 0.7574 GB, free: 31.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.355/4.86, allocations: 1.691 GB / 2.449 GB, free: 95.28 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/4.86, allocations: 91.83 kB / 2.449 GB, free: 95.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1714/5.031, allocations: 79.64 MB / 2.526 GB, free: 15.27 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.204e-06/5.031, allocations: 4 kB / 2.526 GB, free: 15.27 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001144/5.032, allocations: 24 kB / 2.526 GB, free: 15.24 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.002615/5.034, allocations: 1.274 MB / 2.528 GB, free: 13.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/5.034, allocations: 8.031 kB / 2.528 GB, free: 13.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/5.035, allocations: 222.1 kB / 2.528 GB, free: 13.69 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/5.037, allocations: 0.7133 MB / 2.529 GB, free: 12.93 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.231e-05/5.037, allocations: 36 kB / 2.529 GB, free: 12.89 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/5.037, allocations: 68 kB / 2.529 GB, free: 12.83 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001651/5.039, allocations: 1.113 MB / 2.53 GB, free: 11.71 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/5.04, allocations: 0.9419 MB / 2.531 GB, free: 10.71 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/5.04, allocations: 0 / 2.531 GB, free: 10.71 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.988e-05/5.04, allocations: 4 kB / 2.531 GB, free: 10.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/5.04, allocations: 31.95 kB / 2.531 GB, free: 10.67 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004349/5.045, allocations: 2.845 MB / 2.534 GB, free: 7.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/5.046, allocations: 0.6889 MB / 2.534 GB, free: 7.066 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000496/5.047, allocations: 255.2 kB / 2.534 GB, free: 6.812 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001296/5.047, allocations: 32.8 kB / 2.535 GB, free: 6.777 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008046/5.047, allocations: 415.6 kB / 2.535 GB, free: 6.355 MB / 0.698 GB Notification: Performance of pre-optimization done (n=78): time 3.587e-06/5.048, allocations: 0 / 2.535 GB, free: 6.355 MB / 0.698 GB Notification: Performance of matching and sorting (n=78): time 0.002272/5.05, allocations: 0.6809 MB / 2.536 GB, free: 5.664 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.925e-05/5.05, allocations: 248 kB / 2.536 GB, free: 5.367 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/5.051, allocations: 0.5504 MB / 2.536 GB, free: 4.812 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.519e-05/5.051, allocations: 25.7 kB / 2.536 GB, free: 4.781 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004601/5.051, allocations: 0.5033 MB / 2.537 GB, free: 4.27 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000228/5.052, allocations: 236.3 kB / 2.537 GB, free: 4.035 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.991e-05/5.052, allocations: 7.938 kB / 2.537 GB, free: 4.027 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001548/5.052, allocations: 390.7 kB / 2.537 GB, free: 3.637 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004873/5.052, allocations: 205.5 kB / 2.538 GB, free: 3.434 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000606/5.053, allocations: 307.5 kB / 2.538 GB, free: 3.105 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006341/5.054, allocations: 256.5 kB / 2.538 GB, free: 2.859 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/5.054, allocations: 3.938 kB / 2.538 GB, free: 2.855 MB / 0.698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002397/5.056, allocations: 0.6915 MB / 2.539 GB, free: 2.148 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/5.056, allocations: 8 kB / 2.539 GB, free: 2.141 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/5.056, allocations: 0 / 2.539 GB, free: 2.141 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000963/5.057, allocations: 84.77 kB / 2.539 GB, free: 2.055 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/5.058, allocations: 151.8 kB / 2.539 GB, free: 1.906 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002498/5.061, allocations: 1.461 MB / 2.541 GB, free: 328 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/5.062, allocations: 67.53 kB / 2.541 GB, free: 260 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/5.062, allocations: 27.98 kB / 2.541 GB, free: 232 kB / 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 (83): * Single equations (assignments): 82 * 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.0002554/5.062, allocations: 116.8 kB / 2.541 GB, free: 108 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002834/5.063, allocations: 86.97 kB / 2.541 GB, free: 20 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4813/5.544, allocations: 0.9211 MB / 2.542 GB, free: 232.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/5.544, allocations: 9.094 kB / 2.542 GB, free: 232.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/5.544, allocations: 0.7031 kB / 2.542 GB, free: 232.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/5.544, allocations: 5.859 kB / 2.542 GB, free: 232.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/5.546, allocations: 0.8391 MB / 2.543 GB, free: 232.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/5.546, allocations: 0 / 2.543 GB, free: 232.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006611/5.546, allocations: 152.5 kB / 2.543 GB, free: 232.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005127/5.547, allocations: 85.67 kB / 2.543 GB, free: 232.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.502e-05/5.547, allocations: 18.25 kB / 2.543 GB, free: 232.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001537/5.548, allocations: 1.478 MB / 2.544 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/5.548, allocations: 0.7031 kB / 2.544 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/5.55, allocations: 0.7884 MB / 2.545 GB, free: 230.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004062/5.551, allocations: 288.1 kB / 2.545 GB, free: 230.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/5.551, allocations: 8.984 kB / 2.545 GB, free: 230.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005248/5.551, allocations: 49.47 kB / 2.545 GB, free: 230.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/5.551, allocations: 61.84 kB / 2.545 GB, free: 230.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.504e-05/5.551, allocations: 31.95 kB / 2.545 GB, free: 230.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006107/5.552, allocations: 449.6 kB / 2.546 GB, free: 230.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.152e-06/5.552, allocations: 0 / 2.546 GB, free: 230.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001202/5.553, allocations: 376.1 kB / 2.546 GB, free: 230.6 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 (89): * Single equations (assignments): 86 * 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.002019/5.555, allocations: 1.082 MB / 2.547 GB, free: 230.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001279/5.557, allocations: 0.6845 MB / 2.548 GB, free: 230.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/5.557, allocations: 0 / 2.548 GB, free: 230.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000703/5.557, allocations: 460.2 kB / 2.548 GB, free: 230.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/5.559, allocations: 240.1 kB / 2.549 GB, free: 230.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003898/5.562, allocations: 1.495 MB / 2.55 GB, free: 229.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007902/5.563, allocations: 1.106 MB / 2.551 GB, free: 229.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001053/5.564, allocations: 257.8 kB / 2.551 GB, free: 229.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003072/5.565, allocations: 97.62 kB / 2.552 GB, free: 229.1 MB / 0.698 GB Notification: Performance of SimCode: time 6.32e-07/5.565, allocations: 0.5312 kB / 2.552 GB, free: 229.1 MB / 0.698 GB Notification: Performance of Templates: time 0.02536/5.59, allocations: 15.98 MB / 2.567 GB, free: 227.8 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)