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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 102.4 kB / 16.35 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000995/0.000995, allocations: 191 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002134/0.002134, allocations: 292.3 kB / 291.4 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9385/0.9385, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 95.42 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1392, allocations: 86.97 MB / 0.6816 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005461/0.1447, allocations: 4.346 MB / 0.6858 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3634/0.5081, allocations: 150.5 MB / 0.8328 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005592/0.5087, allocations: 19.88 kB / 0.8329 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000465/0.5091, allocations: 169.2 kB / 0.833 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001314/0.5105, allocations: 0.4982 MB / 0.8335 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.5122, allocations: 0.8276 MB / 0.8343 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001086/0.5133, allocations: 1.299 MB / 0.8356 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007592/0.5141, allocations: 0.617 MB / 0.8362 GB, free: 8 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004575/0.5145, allocations: 474.4 kB / 0.8366 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004809/0.515, allocations: 489.8 kB / 0.8371 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001319/0.5152, allocations: 120 kB / 0.8372 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006506/0.5158, allocations: 487.5 kB / 0.8377 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002476/0.5161, allocations: 287 kB / 0.838 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004279/0.5165, allocations: 0.5401 MB / 0.8385 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.5179, allocations: 1.592 MB / 0.84 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.5179, allocations: 3.938 kB / 0.84 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5179, allocations: 0 / 0.84 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.329e-05/0.5179, allocations: 0 / 0.84 GB, free: 12.05 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002235/0.5202, allocations: 1.413 MB / 0.8414 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.5202, allocations: 8.031 kB / 0.8414 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008593/0.5211, allocations: 187.4 kB / 0.8416 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.5222, allocations: 0.7579 MB / 0.8424 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.529e-05/0.5222, allocations: 66 kB / 0.8424 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.843e-05/0.5223, allocations: 76 kB / 0.8425 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.5238, allocations: 0.9145 MB / 0.8434 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.5238, allocations: 7.984 kB / 0.8434 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.708e-05/0.5239, allocations: 43.94 kB / 0.8434 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/0.5239, allocations: 20 kB / 0.8435 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001707/0.5256, allocations: 1.1 MB / 0.8445 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00355/0.5292, allocations: 2.454 MB / 0.8469 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/0.5306, allocations: 0.7899 MB / 0.8477 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005129/0.5311, allocations: 303.2 kB / 0.848 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.129e-05/0.5312, allocations: 28.88 kB / 0.848 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008013/0.532, allocations: 499.1 kB / 0.8485 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 1.944e-06/0.532, allocations: 0 / 0.8485 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.003074/0.5351, allocations: 1.186 MB / 0.8496 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.25e-05/0.5352, allocations: 188.6 kB / 0.8498 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007096/0.536, allocations: 0.6292 MB / 0.8504 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.951e-05/0.536, allocations: 41.7 kB / 0.8505 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002709/0.5363, allocations: 404.3 kB / 0.8509 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/0.5365, allocations: 256.3 kB / 0.8511 GB, free: 420 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002424/0.5367, allocations: 170.5 kB / 0.8513 GB, free: 244 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.5369, allocations: 386.7 kB / 0.8516 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005145/0.5374, allocations: 265.9 kB / 0.8519 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006162/0.538, allocations: 367 kB / 0.8522 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.5391, allocations: 0.5956 MB / 0.8528 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5391, allocations: 0 / 0.8528 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001892/0.541, allocations: 0.8449 MB / 0.8537 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.5411, allocations: 8 kB / 0.8537 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.5411, allocations: 9.25 kB / 0.8537 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005945/0.5417, allocations: 84.77 kB / 0.8537 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006617/0.5424, allocations: 163.7 kB / 0.8539 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001974/0.5443, allocations: 1.625 MB / 0.8555 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006461/0.545, allocations: 87.36 kB / 0.8556 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-05/0.5451, allocations: 39.97 kB / 0.8556 GB, free: 11.61 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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.0003376/0.5454, allocations: 271.6 kB / 0.8559 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.5456, allocations: 87.03 kB / 0.856 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00236/0.5479, allocations: 1.054 MB / 0.857 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.548, allocations: 8 kB / 0.857 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.548, allocations: 0 / 0.857 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.548, allocations: 15.91 kB / 0.857 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009455/0.5489, allocations: 0.8875 MB / 0.8579 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.549, allocations: 0 / 0.8579 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000594/0.5496, allocations: 147.7 kB / 0.858 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004315/0.55, allocations: 68.8 kB / 0.8581 GB, free: 9 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.563e-05/0.5501, allocations: 27.97 kB / 0.8581 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/0.5519, allocations: 1.666 MB / 0.8597 GB, free: 7.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5519, allocations: 0 / 0.8597 GB, free: 7.16 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/0.5538, allocations: 0.9278 MB / 0.8606 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003597/0.5542, allocations: 267.8 kB / 0.8609 GB, free: 5.926 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.5543, allocations: 16 kB / 0.8609 GB, free: 5.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006056/0.5549, allocations: 63.94 kB / 0.861 GB, free: 5.848 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.5551, allocations: 72.89 kB / 0.861 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.677e-05/0.5551, allocations: 31.98 kB / 0.8611 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005192/0.5557, allocations: 455 kB / 0.8615 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5557, allocations: 0 / 0.8615 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000683/0.5564, allocations: 319.1 kB / 0.8618 GB, free: 4.992 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001254/0.5576, allocations: 0.6145 MB / 0.8624 GB, free: 4.555 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00155/0.5592, allocations: 0.8241 MB / 0.8632 GB, free: 3.719 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.5592, allocations: 4.188 kB / 0.8632 GB, free: 3.715 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009031/0.5601, allocations: 0.5157 MB / 0.8637 GB, free: 3.184 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009846/0.5611, allocations: 297.4 kB / 0.864 GB, free: 2.922 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003356/0.5645, allocations: 1.727 MB / 0.8657 GB, free: 1.172 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005297/0.565, allocations: 1.023 MB / 0.8667 GB, free: 128 kB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007032/0.5657, allocations: 258.6 kB / 0.8669 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00025/0.566, allocations: 111.3 kB / 0.867 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of SimCode: time 3.01e-07/0.566, allocations: 0 / 0.867 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of Templates: time 0.02208/0.5881, allocations: 14.62 MB / 0.8813 GB, free: 1.352 MB / 0.6387 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)