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.7623/0.7623, 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.00104/0.00104, allocations: 183.6 kB / 187.3 MB, free: 11.89 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.647/1.647, allocations: 221.3 MB / 441.4 MB, free: 4.59 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.00092/0.0009201, allocations: 101.4 kB / 0.5124 GB, free: 24.28 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002045/0.002045, allocations: 274.1 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.291e-05/4.293e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5412/0.5412, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.772/5.314, allocations: 1.692 GB / 2.456 GB, free: 50.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/5.314, allocations: 87.91 kB / 2.456 GB, free: 50.75 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5712/5.885, allocations: 80.5 MB / 2.535 GB, free: 234 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.645e-06/5.885, allocations: 0 / 2.535 GB, free: 234 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001195/5.886, allocations: 31.84 kB / 2.535 GB, free: 234 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.002616/5.888, allocations: 1.278 MB / 2.536 GB, free: 233.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/5.888, allocations: 9.125 kB / 2.536 GB, free: 233.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/5.889, allocations: 217.9 kB / 2.536 GB, free: 233.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/5.891, allocations: 0.7044 MB / 2.537 GB, free: 233 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.498e-05/5.891, allocations: 88.61 kB / 2.537 GB, free: 233 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001949/5.891, allocations: 112 kB / 2.537 GB, free: 233 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001981/5.893, allocations: 1.091 MB / 2.538 GB, free: 232.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.15e-05/5.893, allocations: 6.25 kB / 2.538 GB, free: 232.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/5.893, allocations: 50.16 kB / 2.538 GB, free: 232.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.206e-05/5.893, allocations: 27.56 kB / 2.538 GB, free: 232.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001762/5.895, allocations: 1.182 MB / 2.54 GB, free: 232.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004832/5.9, allocations: 3.065 MB / 2.543 GB, free: 232 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/5.901, allocations: 0.7416 MB / 2.543 GB, free: 232 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003775/5.901, allocations: 275 kB / 2.543 GB, free: 232 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001081/5.902, allocations: 31.88 kB / 2.544 GB, free: 232 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006251/5.902, allocations: 436.4 kB / 2.544 GB, free: 231.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=78): time 2.936e-06/5.902, allocations: 0 / 2.544 GB, free: 231.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=78): time 0.001714/5.904, allocations: 0.7329 MB / 2.545 GB, free: 231.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.482e-05/5.904, allocations: 245.2 kB / 2.545 GB, free: 231.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009591/5.905, allocations: 0.6588 MB / 2.546 GB, free: 231.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.848e-05/5.905, allocations: 40.83 kB / 2.546 GB, free: 231.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/5.905, allocations: 0.5041 MB / 2.546 GB, free: 231.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002054/5.906, allocations: 254 kB / 2.546 GB, free: 231 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/5.906, allocations: 15.12 kB / 2.546 GB, free: 231 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.263e-05/5.906, allocations: 330.8 kB / 2.547 GB, free: 230.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003296/5.906, allocations: 220.8 kB / 2.547 GB, free: 230.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004068/5.907, allocations: 336.8 kB / 2.547 GB, free: 230.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004104/5.907, allocations: 262.1 kB / 2.547 GB, free: 230.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/5.907, allocations: 6.578 kB / 2.547 GB, free: 230.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001468/5.908, allocations: 0.7531 MB / 2.548 GB, free: 230.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/5.908, allocations: 3.812 kB / 2.548 GB, free: 230.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/5.908, allocations: 3.969 kB / 2.548 GB, free: 230.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005737/5.909, allocations: 81.17 kB / 2.548 GB, free: 230.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005982/5.91, allocations: 147.8 kB / 2.548 GB, free: 230.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001701/5.911, allocations: 1.52 MB / 2.55 GB, free: 229.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006705/5.912, allocations: 87.03 kB / 2.55 GB, free: 229.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.9e-05/5.912, allocations: 34.38 kB / 2.55 GB, free: 229.1 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 (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.0001725/5.912, allocations: 146.5 kB / 2.55 GB, free: 229 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/5.913, allocations: 90.19 kB / 2.55 GB, free: 229 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00206/5.915, allocations: 0.9968 MB / 2.551 GB, free: 228.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/5.915, allocations: 16.36 kB / 2.551 GB, free: 228.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/5.915, allocations: 0 / 2.551 GB, free: 228.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/5.915, allocations: 10.48 kB / 2.551 GB, free: 228.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/5.916, allocations: 1.002 MB / 2.552 GB, free: 228.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/5.916, allocations: 0 / 2.552 GB, free: 228.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005621/5.916, allocations: 149.2 kB / 2.552 GB, free: 228.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004706/5.917, allocations: 84.25 kB / 2.552 GB, free: 228.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.33e-05/5.917, allocations: 23.09 kB / 2.552 GB, free: 228.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001443/5.918, allocations: 1.546 MB / 2.554 GB, free: 227.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/5.918, allocations: 0 / 2.554 GB, free: 227.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/5.92, allocations: 0.8522 MB / 2.555 GB, free: 227.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004145/5.92, allocations: 299.9 kB / 2.555 GB, free: 227 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/5.921, allocations: 17.06 kB / 2.555 GB, free: 227 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005792/5.921, allocations: 67.05 kB / 2.555 GB, free: 227 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/5.921, allocations: 60.94 kB / 2.555 GB, free: 227 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.848e-05/5.921, allocations: 30.89 kB / 2.555 GB, free: 227 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006854/5.922, allocations: 0.5363 MB / 2.556 GB, free: 226.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/5.922, allocations: 0 / 2.556 GB, free: 226.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001128/5.923, allocations: 404.7 kB / 2.556 GB, free: 226.9 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.001978/5.925, allocations: 1.021 MB / 2.557 GB, free: 226.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00129/5.927, allocations: 0.7287 MB / 2.558 GB, free: 226.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/5.927, allocations: 3.906 kB / 2.558 GB, free: 226.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007071/5.927, allocations: 491 kB / 2.558 GB, free: 226.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/5.928, allocations: 260.1 kB / 2.559 GB, free: 226.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003755/5.932, allocations: 1.548 MB / 2.56 GB, free: 226 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005866/5.933, allocations: 1.103 MB / 2.561 GB, free: 225.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001058/5.934, allocations: 272.4 kB / 2.561 GB, free: 225.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002974/5.934, allocations: 102.7 kB / 2.562 GB, free: 225.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.733e-06/5.934, allocations: 0 / 2.562 GB, free: 225.1 MB / 0.698 GB Notification: Performance of Templates: time 0.03113/5.965, allocations: 22.62 MB / 2.584 GB, free: 204.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)