Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.316/2.316, allocations: 391.2 MB / 407 MB, free: 10.83 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001423/0.001424, allocations: 193.3 kB / 499.1 MB, free: 4.613 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 222.9 MB / 0.7948 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 107.5 kB / 0.9329 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 52.61 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3412, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005814/0.3471, allocations: 4.108 MB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1525/0.4997, allocations: 148.1 MB / 1.367 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009961/0.5007, allocations: 19.88 kB / 1.367 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005759/0.5013, allocations: 135 kB / 1.367 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.503, allocations: 398 kB / 1.367 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001919/0.5049, allocations: 0.6922 MB / 1.368 GB, free: 11.17 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001284/0.5062, allocations: 1.094 MB / 1.369 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008651/0.5071, allocations: 0.5746 MB / 1.37 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005617/0.5077, allocations: 378.4 kB / 1.37 GB, free: 9.117 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004765/0.5082, allocations: 414 kB / 1.37 GB, free: 8.711 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.5083, allocations: 48 kB / 1.37 GB, free: 8.664 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009084/0.5092, allocations: 391.6 kB / 1.371 GB, free: 8.281 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002407/0.5094, allocations: 211.2 kB / 1.371 GB, free: 8.074 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004087/0.5099, allocations: 449.3 kB / 1.371 GB, free: 7.633 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001498/0.5114, allocations: 1.382 MB / 1.373 GB, free: 6.246 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5114, allocations: 0 / 1.373 GB, free: 6.246 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5114, allocations: 0 / 1.373 GB, free: 6.246 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.5114, allocations: 0 / 1.373 GB, free: 6.246 MB / 0.8698 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.002181/0.5136, allocations: 1.315 MB / 1.374 GB, free: 4.871 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.5136, allocations: 15.98 kB / 1.374 GB, free: 4.855 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008462/0.5145, allocations: 175.5 kB / 1.374 GB, free: 4.684 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.5156, allocations: 0.7033 MB / 1.375 GB, free: 3.938 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.92e-05/0.5156, allocations: 58 kB / 1.375 GB, free: 3.879 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.67e-05/0.5157, allocations: 72 kB / 1.375 GB, free: 3.809 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/0.5171, allocations: 0.8481 MB / 1.376 GB, free: 2.922 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/0.5171, allocations: 4 kB / 1.376 GB, free: 2.918 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-05/0.5172, allocations: 32 kB / 1.376 GB, free: 2.887 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.5172, allocations: 16 kB / 1.376 GB, free: 2.871 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/0.5189, allocations: 1.057 MB / 1.377 GB, free: 1.809 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003895/0.5228, allocations: 2.358 MB / 1.379 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/0.5241, allocations: 0.7038 MB / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000468/0.5246, allocations: 271.5 kB / 1.38 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.793e-05/0.5246, allocations: 36.61 kB / 1.38 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007871/0.5254, allocations: 419.2 kB / 1.381 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=71): time 2.765e-06/0.5255, allocations: 0 / 1.381 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of matching and sorting (n=71): time 0.00288/0.5283, allocations: 1.069 MB / 1.382 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.5285, allocations: 188.6 kB / 1.382 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007394/0.5292, allocations: 0.5899 MB / 1.382 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.122e-05/0.5293, allocations: 37.7 kB / 1.382 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002927/0.5296, allocations: 380.2 kB / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/0.5298, allocations: 236.6 kB / 1.383 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002294/0.53, allocations: 146.5 kB / 1.383 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.5302, allocations: 382.8 kB / 1.384 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004503/0.5306, allocations: 229.9 kB / 1.384 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005634/0.5312, allocations: 330.8 kB / 1.384 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009695/0.5322, allocations: 0.5394 MB / 1.385 GB, free: 9.723 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.5322, allocations: 0 / 1.385 GB, free: 9.723 MB / 0.8855 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00177/0.534, allocations: 0.7704 MB / 1.385 GB, free: 8.941 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.534, allocations: 5.094 kB / 1.385 GB, free: 8.938 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.534, allocations: 4 kB / 1.385 GB, free: 8.934 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005937/0.5346, allocations: 80.8 kB / 1.385 GB, free: 8.852 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006124/0.5353, allocations: 147.8 kB / 1.386 GB, free: 8.707 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/0.5374, allocations: 1.512 MB / 1.387 GB, free: 7.055 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006024/0.538, allocations: 79.44 kB / 1.387 GB, free: 6.977 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.108e-05/0.5381, allocations: 35.97 kB / 1.387 GB, free: 6.941 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004297/0.5385, allocations: 246.3 kB / 1.387 GB, free: 6.691 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.5387, allocations: 75.06 kB / 1.387 GB, free: 6.617 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002186/0.5409, allocations: 0.9667 MB / 1.388 GB, free: 5.633 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.5409, allocations: 8 kB / 1.388 GB, free: 5.625 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.5409, allocations: 0 / 1.388 GB, free: 5.625 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.5409, allocations: 4.078 kB / 1.388 GB, free: 5.621 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009639/0.5419, allocations: 0.8332 MB / 1.389 GB, free: 4.738 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5419, allocations: 0 / 1.389 GB, free: 4.738 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005217/0.5424, allocations: 135.8 kB / 1.389 GB, free: 4.605 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005038/0.5429, allocations: 80.78 kB / 1.389 GB, free: 4.523 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.694e-05/0.543, allocations: 23.98 kB / 1.389 GB, free: 4.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/0.5449, allocations: 1.54 MB / 1.391 GB, free: 2.824 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.5449, allocations: 64 / 1.391 GB, free: 2.824 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002773/0.5477, allocations: 1.828 MB / 1.393 GB, free: 0.9297 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003904/0.5481, allocations: 247.9 kB / 1.393 GB, free: 0.668 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.27e-05/0.5482, allocations: 16 kB / 1.393 GB, free: 0.6523 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004962/0.5487, allocations: 57.19 kB / 1.393 GB, free: 0.5977 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.5488, allocations: 52.92 kB / 1.393 GB, free: 0.5469 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.091e-05/0.5489, allocations: 36.05 kB / 1.393 GB, free: 0.5117 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0005469/0.5494, allocations: 427 kB / 1.394 GB, free: 104 kB / 0.8855 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5495, allocations: 3.938 kB / 1.394 GB, free: 100 kB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0009452/0.5504, allocations: 291.3 kB / 1.394 GB, free: 15.81 MB / 0.9011 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0015/0.5519, allocations: 0.5986 MB / 1.394 GB, free: 15.39 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001581/0.5535, allocations: 0.7433 MB / 1.395 GB, free: 14.63 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.5535, allocations: 0 / 1.395 GB, free: 14.63 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0008516/0.5544, allocations: 488.5 kB / 1.396 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/0.5556, allocations: 268 kB / 1.396 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004682/0.5603, allocations: 2.431 MB / 1.398 GB, free: 11.42 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008615/0.5612, allocations: 1.02 MB / 1.399 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000901/0.5621, allocations: 246 kB / 1.4 GB, free: 10.13 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/0.5624, allocations: 91.39 kB / 1.4 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of SimCode: time 6.62e-07/0.5624, allocations: 0 / 1.4 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of Templates: time 0.0247/0.5871, allocations: 13.41 MB / 1.413 GB, free: 12.79 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)