Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001462/0.001462, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00217/0.00217, allocations: 296.3 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9379/0.9379, allocations: 169.2 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 96.23 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5367/0.5386, allocations: 86.98 MB / 0.767 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006955/0.5456, allocations: 4.416 MB / 0.7713 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1605/0.7062, allocations: 150.6 MB / 0.9185 GB, free: 8.266 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008858/0.7071, allocations: 15.94 kB / 0.9185 GB, free: 8.25 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007152/0.7078, allocations: 174.3 kB / 0.9186 GB, free: 8.078 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002016/0.7099, allocations: 0.5077 MB / 0.9191 GB, free: 7.57 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002258/0.7122, allocations: 0.8556 MB / 0.92 GB, free: 6.723 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001694/0.7139, allocations: 1.332 MB / 0.9213 GB, free: 5.383 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.715, allocations: 0.7025 MB / 0.922 GB, free: 4.66 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008353/0.7159, allocations: 0.4944 MB / 0.9224 GB, free: 4.164 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000759/0.7166, allocations: 0.5366 MB / 0.923 GB, free: 3.625 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002907/0.7169, allocations: 128 kB / 0.9231 GB, free: 3.5 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.7181, allocations: 0.4996 MB / 0.9236 GB, free: 3 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003702/0.7185, allocations: 315 kB / 0.9239 GB, free: 2.691 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007027/0.7192, allocations: 0.5868 MB / 0.9244 GB, free: 2.102 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002303/0.7215, allocations: 1.712 MB / 0.9261 GB, free: 396 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.7215, allocations: 0 / 0.9261 GB, free: 396 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7215, allocations: 3.938 kB / 0.9261 GB, free: 392 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.464e-05/0.7216, allocations: 0 / 0.9261 GB, free: 392 kB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.003121/0.7247, allocations: 1.483 MB / 0.9276 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.7248, allocations: 12.03 kB / 0.9276 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/0.7259, allocations: 215.2 kB / 0.9278 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/0.7273, allocations: 0.7811 MB / 0.9285 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.781e-05/0.7273, allocations: 78 kB / 0.9286 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.7275, allocations: 88 kB / 0.9287 GB, free: 13.65 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/0.7293, allocations: 1.012 MB / 0.9297 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.7293, allocations: 0 / 0.9297 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.525e-05/0.7294, allocations: 40 kB / 0.9297 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.316e-05/0.7294, allocations: 31.92 kB / 0.9298 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001981/0.7314, allocations: 1.175 MB / 0.9309 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004679/0.7361, allocations: 2.678 MB / 0.9335 GB, free: 8.598 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/0.7378, allocations: 0.899 MB / 0.9344 GB, free: 7.676 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005795/0.7384, allocations: 314.7 kB / 0.9347 GB, free: 7.359 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006519/0.7391, allocations: 474.1 kB / 0.9352 GB, free: 6.805 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008863/0.74, allocations: 0.4991 MB / 0.9356 GB, free: 6.285 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 3.337e-06/0.74, allocations: 0 / 0.9356 GB, free: 6.285 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.00323/0.7432, allocations: 1.229 MB / 0.9368 GB, free: 5.031 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/0.7434, allocations: 192.6 kB / 0.937 GB, free: 4.801 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.7444, allocations: 0.641 MB / 0.9377 GB, free: 4.156 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.036e-05/0.7445, allocations: 45.7 kB / 0.9377 GB, free: 4.105 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003841/0.7449, allocations: 424.2 kB / 0.9381 GB, free: 3.684 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.7451, allocations: 260.2 kB / 0.9384 GB, free: 3.426 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002612/0.7454, allocations: 174.4 kB / 0.9385 GB, free: 3.246 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.7456, allocations: 390.8 kB / 0.9389 GB, free: 2.855 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005553/0.7462, allocations: 273.8 kB / 0.9392 GB, free: 2.59 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006683/0.7468, allocations: 371.1 kB / 0.9395 GB, free: 2.219 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.748, allocations: 0.6267 MB / 0.9401 GB, free: 1.578 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.748, allocations: 0 / 0.9401 GB, free: 1.578 MB / 0.7012 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002049/0.7501, allocations: 0.88 MB / 0.941 GB, free: 0.6875 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.7501, allocations: 8 kB / 0.941 GB, free: 0.6797 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.7501, allocations: 0 / 0.941 GB, free: 0.6797 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000627/0.7508, allocations: 80.88 kB / 0.9411 GB, free: 0.5977 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006934/0.7515, allocations: 163.8 kB / 0.9412 GB, free: 448 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002123/0.7536, allocations: 1.626 MB / 0.9428 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008012/0.7544, allocations: 99.28 kB / 0.9429 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.252e-05/0.7545, allocations: 40.03 kB / 0.9429 GB, free: 14.53 MB / 0.7169 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 (96): * Single equations (assignments): 95 * 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.0004922/0.755, allocations: 279.5 kB / 0.9432 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002167/0.7552, allocations: 82.97 kB / 0.9433 GB, free: 14.17 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002445/0.7577, allocations: 1.093 MB / 0.9444 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.7577, allocations: 11.98 kB / 0.9444 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.7577, allocations: 0 / 0.9444 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.7577, allocations: 7.969 kB / 0.9444 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003411/0.7611, allocations: 2.006 MB / 0.9463 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.423e-06/0.7612, allocations: 4 kB / 0.9463 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006017/0.7618, allocations: 155.8 kB / 0.9465 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004318/0.7622, allocations: 80.72 kB / 0.9466 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.749e-05/0.7623, allocations: 23.98 kB / 0.9466 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001885/0.7642, allocations: 1.65 MB / 0.9482 GB, free: 8.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.7642, allocations: 0 / 0.9482 GB, free: 8.918 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/0.7663, allocations: 1.021 MB / 0.9492 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004479/0.7667, allocations: 279.7 kB / 0.9495 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.7669, allocations: 23.94 kB / 0.9495 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006819/0.7676, allocations: 63.92 kB / 0.9495 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.7677, allocations: 68.91 kB / 0.9496 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-05/0.7678, allocations: 39.91 kB / 0.9496 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000594/0.7684, allocations: 471 kB / 0.9501 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7684, allocations: 0 / 0.9501 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009698/0.7694, allocations: 343.1 kB / 0.9504 GB, free: 6.598 MB / 0.7169 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * 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.001472/0.7709, allocations: 0.623 MB / 0.951 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001814/0.7727, allocations: 0.8468 MB / 0.9519 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.7727, allocations: 4 kB / 0.9519 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009705/0.7737, allocations: 0.5316 MB / 0.9524 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.7749, allocations: 293.2 kB / 0.9527 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004031/0.779, allocations: 1.859 MB / 0.9545 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006529/0.7796, allocations: 1.047 MB / 0.9555 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003314/0.78, allocations: 127.3 kB / 0.9556 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of SimCode: time 7.61e-07/0.78, allocations: 4 kB / 0.9556 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of Templates: time 0.3984/1.178, allocations: 19.42 MB / 0.9746 GB, free: 178 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)